How does ZGC process objects newly created during concurrent marking?

raell at web.de raell at web.de
Mon Feb 24 18:12:31 UTC 2020


Hi,

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!

Ralph


More information about the zgc-dev mailing list