[jdk11u-dev] RFR: 8237354: Add option to jcmd to write a gzipped heap dump

Paul Hohensee phh at openjdk.java.net
Tue Aug 17 13:28:24 UTC 2021


On Mon, 9 Aug 2021 07:08:36 GMT, BuddyLiao <github.com+3094961+buddyliao at openjdk.org> wrote:

> Backport of the heap dump enhancement: Add option to jcmd to write a gzipped heap dump
> 
> Patch did not apply cleanly, I had to resolve/modify
> 
> 1) src/hotspot/share/services/heapDumper.cpp
> function "int dump(const char* path, bool overwrite = false)" has some different from the jdk-master, since patch 7cbb67a3f8adc83a5b51c092a66480d7b22a6bea is backport before this one, so this patch can't backport clearly
> 
> 2) src/hotspot/share/services/heapDumperCompression.cpp
> MonitorLockerEx is named MonitorLocker in jdk-master, MonitorLockerEx.wait should have parameters, the constructor of  MonitorLockerEx and MutexUnlockerEx also different from jdk-master
> 
> 3) src/hotspot/share/services/heapDumperCompression.hpp
> FileWriter is different from jdk-master since backport of 7cbb67a3f8adc83a5b51c092a66480d7b22a6bea before this patch.
> 
> I have built it on linux x86_64 and run test-tier1

Thanks you for pointing that out. :) I was reading only the email.

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/209


More information about the jdk-updates-dev mailing list