RFR: 8265136: ZGC: Expose GarbageCollectorMXBeans for both pauses and cycles
pliden at openjdk.java.net
Wed Apr 14 07:21:19 UTC 2021
JDK-8240679 introduced a change where the information exposed via the GarbageCollectorMXBean went from being related to the GC pauses to instead be related to the GC cycles. This helped provide more accurate heap usage information. However, some users have noticed that that you no longer get timing information related to the GC pauses, only related to the GC cycle.
Shenandoah has opted for having two distinct memory managers to provide timing information about both pauses and cycles. To align how concurent GCs report this information, ZGC should probably do the same.
* Tier1-7 with ZGC
* Manual testing with relevant jtreg tests
- 8265136: ZGC: Expose GarbageCollectorMXBeans for both pauses and cycles
Stats: 179 lines in 9 files changed: 107 ins; 25 del; 47 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3483/head:pull/3483
More information about the core-libs-dev