RFR: JDK-8319784: VM crash during heap dump after JDK-8287061 [v2]

Cesar Soares Lucas cslucas at openjdk.org
Wed Nov 15 21:58:34 UTC 2023


On Wed, 15 Nov 2023 08:00:33 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/c2/TestReduceAllocationAndHeapDump.java line 32:
>> 
>>> 30:  * @run main/othervm -server
>>> 31:  *                   -XX:CompileThresholdScaling=0.01
>>> 32:  *                   -XX:+HeapDumpAfterFullGC
>> 
>> I am concerned this test case would deplete the disk space with heap dumps. I think the test should explicitly trigger the heap dump and manage (remove) the resulting .hprofs.
>
> I agree, especially if the test is executed with stress options like `FullGCALot`.

Thank you for reviewing guys! I pushed changes to the test to address your feedback.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16622#discussion_r1394869686


More information about the hotspot-compiler-dev mailing list