<div dir="ltr">Hi,<div>    </div><div>Was trying to understand why old generation mx bean was notified in case of G1GC and saw following code</div><div><br></div><div>G1MonitoringSupport.hpp<br></div><div><div>  //  young collection set counters.  The _eden_counters,</div><div>  // _from_counters, and _to_counters are associated with</div><div>  // this "generational" counter.</div><div>  GenerationCounters*  _young_collection_counters;</div><div>  //  old collection set counters. The _old_space_counters</div><div>  // below are associated with this "generational" counter.</div><div>  GenerationCounters*  _old_collection_counters;</div></div><div><br></div><div>I don't see these counters updated anywhere. What is the use of these counters in G1GC.<br></div><div><br></div><div><br></div><div>only following is updated in g1CollectedHeap.cpp</div><div><div>  //  incremental collections both young and mixed</div><div>  CollectorCounters*   _incremental_collection_counters;</div><div>  //  full stop-the-world collections</div><div>  CollectorCounters*   _full_collection_counters;</div></div><div><br></div><div>Is there any mail thread/doc which explains more about this.</div><div><br></div><div>Thanks,</div><div>Sundar</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>