How CMS interleave with ParNew

Bernd Eckenfels bernd-2013 at eckenfels.net
Mon Dec 23 18:04:47 PST 2013


Am 23.12.2013, 03:14 Uhr, schrieb Guoqin Zheng <lanson.zheng at gmail.com>:
> One more question, why CMS treats the young gen as the source of root
> references rather then the ordinary roots?

Just a uneducated guess: after a scavenger you can be sure that all  
surviving objects do have a root. That way you dont need to mark (and  
expecially traverse) them again. Of course the traditional roots have to  
be traversed anyway to see to which old gen objects they point to.

Greetings
Bernd
-- 
http://bernd.eckenfels.net


More information about the hotspot-gc-use mailing list