RFR: 8257234 : Add gz option to SA jmap to write a gzipped heap dump [v6]

Chris Plummer cjplummer at openjdk.java.net
Tue Jan 19 22:01:55 UTC 2021


On Tue, 19 Jan 2021 05:43:12 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 one additional commit since the last revision:
> 
>   code refine

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/HeapHprofBinWriter.java line 490:

> 488:         hprofBufferedOut = null;
> 489:     }
> 490: 

Can you explain what this check is for and why it is no longer needed?

-------------

PR: https://git.openjdk.java.net/jdk/pull/1712


More information about the serviceability-dev mailing list