RFR: 8373262: Parallel: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java fails

Chris Plummer cjplummer at openjdk.org
Mon Dec 8 15:38:50 UTC 2025


On Mon, 8 Dec 2025 14:50:43 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> [JDK-8367541](https://bugs.openjdk.org/browse/JDK-8367541) changes the fields in `src/hotspot/share/gc/parallel/parallelScavengeHeap.hpp` to be non-static. The corresponding access in `src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/parallel/ParallelScavengeHeap.java` should be updated as well.
> 
> `TEST=gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java JTREG_JAVA_OPTIONS=-XX:+UseParallelGC` fails consistently without the fix and passes with the fix.
> 
> Test: tier1-2

Copyright needs updating. Otherwise it looks good.

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

PR Review: https://git.openjdk.org/jdk/pull/28700#pullrequestreview-3552670288


More information about the hotspot-gc-dev mailing list