G1 Old Generation GC collection event not sent after Mixed evacuation pause
Sundara Mohan M
email.sundarms at gmail.com
Tue Jul 18 17:41:23 UTC 2017
Hi,
I am trying to capture all GC event happened on G1 Old Generation.
I was expecting when G1 Evacuation pause (mixed) happens it should trigger
event to my app but instead, i am getting notification only when Full GC
happens.
Here is what i am doing
gcMxBeanListener = myFunction(...)
oldGen = ManagementFactiory.getGarbageCollectorMXBeans find { "G1 Old
Generation" }
oldGen.addNotificationListener(gcMxBeanListener, null, null)
But in the case of CMS GC, it is triggered when the concurrent cycle is
completed.
Is there something i am missing?
Thanks,
Sundar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20170718/a1eda0b0/attachment.html>
More information about the hotspot-gc-use
mailing list