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
_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use

Reply via email to