In G1 GC, what factors determine how many times of Mixed GC, will occur next after concurrent tagging?

Global Concurrent Marking converts the next GC to Mixed GC, and provides it with CSet. Mixed GC may continue several times before switching back to Young GC, until the next Global Concurrent Marking.
what I don"t understand is, in turn, what determines the transformation of, Mixed GC back to Young GC?
some friends mentioned in the blog post that they want to clean up the whole CSet. However, after all, only Global Concurrent Marking will update CSet, if multiple Mixed GC, is obviously based on the CSet obtained by the original Global Concurrent Marking. During this time, the survival of objects in region may have changed a lot. If you have to clean up the whole CSet before changing back to Young GC, it is probably not in line with G1"s idea of "giving priority to the region that cleans up the most garbage", right?

May.22,2021
Menu