RFR(L) 8237354: Add option to jcmd to write a gzipped heap dump

Yasumasa Suenaga suenaga at oss.nttdata.com
Wed Feb 12 04:35:40 UTC 2020


Hi Ralf,

I agree with Serguei and Laurence.
+1 to -gz[=level] only.


Yasumasa


On 2020/02/12 0:35, Schmelter, Ralf wrote:
> Hi Yasumasa,
> 
> I think I've tried too much by using the -gz flag as a boolean plus a int value. I've decided to use two options instead: -gz as a boolean option to turn compression on and -gz-level to specify the compression level. E.g.
> GC.heap_dump -gz -gz-level=3 test.hprof.gz
> 
> Best regards,
> Ralf
> 


More information about the serviceability-dev mailing list