On Wed, 7 Dec 2022 21:50:11 GMT, Kevin Walls <kev...@openjdk.org> wrote:
> Test should not check that Eden has decreased in used size if the GCCause is > "No GC". > > These happen with the message "end of concurrent GC pause" which is logged by > the GCMemoryManager _conc_gc_memory_manager (in G1MonitoringSupport). This > GCMemoryManager only interacts with the old gen memory pool, so it is > expected that eden usage does not change. > > Updated a few variable names to make it more obvious what count and number > are recording, and some formatting. The key part of the change is at line > 137 onwards. This bug appears to be a regression caused by the fix for: [JDK-8297247](https://bugs.openjdk.org/browse/JDK-8297247) Add GarbageCollectorMXBean for Remark and Cleanup pause time in G1 so I've bumped the priority from P4 -> P2 since it appears to be a regression. I've also retargeted the bug from '21' -> '20'. ------------- PR: https://git.openjdk.org/jdk/pull/11572