I know that the CMS process of tagging is to tag all reachable objects. n the stage after the final markup, we only marked all reachable objects, not unreachable objects (or my understanding is not correct). Then when the concurrent cleanup occurs, there may be an object created by the user thread when all non-reachable space is cleared. How does CMS handle, or is there a problem with what I understand from the beginning
Asked
Active
Viewed 15 times
0
-
1Objects creating during the sweep phase are immediately marked as reachable by their creator. – Holger Nov 05 '19 at 08:27
-
Maybe [this Q&A](https://stackoverflow.com/q/2364274/2711488) helps. – Holger Nov 05 '19 at 08:36
-
What I want to describe is the object generated in the concurrent cleanup phase, maybe I don't have a good understanding of CMS. In concurrent cleanup, it is determined which objects are being cleaned? – Gallrax- Nov 05 '19 at 08:49