RFR: 8373403: [TESTBUG] TestG1ClassUnloadingHWM.java could fail with large G1HeapRegionSize and small InitialHeapSize

Thomas Schatzl tschatzl at openjdk.org
Thu Dec 11 08:52:25 UTC 2025


On Wed, 10 Dec 2025 20:41:18 GMT, Man Cao <manc at openjdk.org> wrote:

>Updated test to check Metadata GC Threshold explicitly, and removed the check for concurrent mark in testWithoutG1ClassUnloading().

One can check whether the concurrent start GC has the "Metadata GC Threshold" cause as well in the regexes. Young GC both have the cause (e.g. that "Metadata GC Threshold") as well as a type ("Concurrent Start").

>
>Also filed https://bugs.openjdk.org/browse/JDK-8373461 for avoiding the unnecessary concurrent mark.

Thank you.

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

PR Comment: https://git.openjdk.org/jdk/pull/28738#issuecomment-3640873533


More information about the hotspot-gc-dev mailing list