How does ZGC process objects newly created during concurrent marking?

raell at raell at
Mon Feb 24 18:12:31 UTC 2020


I'm just curious how ZGC processes objects, that are newly created during concurrent marking:

Suppose concurrent marking is running, and after object x has been marked, the mutator executes
x.f = new Object();

How does ZGC process this case?
Are the new objects implicitly considered live by using a TAMS (as Shenandoah does)?

Thank you very much!


More information about the zgc-dev mailing list