RFR: 8322043: HeapDumper should use parallel dump by default [v3]
Yi Yang
yyang at openjdk.org
Tue Apr 16 02:04:00 UTC 2024
On Mon, 15 Apr 2024 23:18:54 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
>> The fix makes VM heap dumping parallel by default.
>> `jcmd GC.heap_dump` and `jmap -dump` had parallel dumping by default, the fix affects `HotSpotDiagnosticMXBean.dumpHeap()`, `-XX:+HeapDumpBeforeFullGC`, `-XX:+HeapDumpAfterFullGC` and `-XX:+HeapDumpOnOutOfMemoryError`.
>>
>> Testing:
>> - manually tested different heap dump scenarios with `-Xlog:heapdump`;
>> - tier1,tier2,hs-tier5-svc;
>> - all reg.tests that use heap dump.
>
> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
>
> check free_memory for OOME
Looks good. Thanks for doing this!
-------------
Marked as reviewed by yyang (Committer).
PR Review: https://git.openjdk.org/jdk/pull/18748#pullrequestreview-2002450373
More information about the serviceability-dev
mailing list