RFR: 8373403: [TESTBUG] TestG1ClassUnloadingHWM.java could fail with large G1HeapRegionSize and small InitialHeapSize
Man Cao
manc at openjdk.org
Wed Dec 10 20:43:50 UTC 2025
On Wed, 10 Dec 2025 13:51:55 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> I think this is a test bug: it should check whether the Metadata GCs is a full gc and not a young gc starting a concurrent mark. Right now the test just checks whether there is any full gc and not a concurrent start gc at all. The regexp should add a `Metadata GC Threshold` part there.
Updated test to check `Metadata GC Threshold` explicitly, and removed the check for concurrent mark in `testWithoutG1ClassUnloading()`.
Also filed https://bugs.openjdk.org/browse/JDK-8373461 for avoiding the unnecessary concurrent mark.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28738#issuecomment-3638882880
More information about the hotspot-gc-dev
mailing list