RFR: 8257234 : Add gz option to SA jmap to write a gzipped heap dump [v20]
Serguei Spitsyn
sspitsyn at openjdk.java.net
Sat Feb 20 10:50:42 UTC 2021
On Wed, 10 Feb 2021 04:04:56 GMT, Lin Zang <lzang at openjdk.org> wrote:
>> 8257234 : Add gz option to SA jmap to write a gzipped heap dump
>
> Lin Zang has updated the pull request incrementally with two additional commits since the last revision:
>
> - fix indentation isue
> - fix help message issue and Use ByteBuffer for integer writing
Hi Lin,
I'm sorry for the delay.
The fix looks good to me.
I have one minor request below.
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/HeapHprofBinWriter.java
+ private static byte[] genByteArrayFromInt(int integer) {
. . .
+ private final void writeInteger(int v) {
Could you, please, replace both parameters 'integer' and 'v' with something like 'val' or 'value'?
Thanks,
Serguei
-------------
Marked as reviewed by sspitsyn (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/1712
More information about the hotspot-runtime-dev
mailing list