ZGC Allocation stall metrics via MXBean

Sundara Mohan M m.sundar85 at gmail.com
Tue Oct 22 18:18:46 UTC 2019


Hi,
    I was trying to get GC metrics via GarbageCollectorMXBean but only see
CollectionCount and CollectionTime.
Even though i can get the Allocation Stall event from gc log i have to do
some special setup to get that collected and reported properly.
Since ZGC allocation stall is important event to identify if the
application is having issue, can we expose it via any other MXBean?

Thanks
Sundar


More information about the zgc-dev mailing list