Request for review (M): 7172388: G1: _total_full_collections should not be incremented for concurrent cycles
bengt.rutisson at oracle.com
Tue May 29 11:48:25 UTC 2012
Can I have a couple of reviews for this change?
CollectedHeap::total_full_collections() should keep track of the number
of full GCs. At least that is what all collectors except G1 does. G1
also counts the concurrent marking cycles as full collections.
This change will make G1 behave like the other collectors with regards
- UTE on a Linux x64 host using these test lists:
Also, Matherey had written a Whitebox API test that used
CollectedHeap::total_full_collections() to find out how many full GCs
that were performed. This test always failed with G1. With my proposed
change that test works fine with G1 as well.
More information about the hotspot-gc-dev