[Vm-dev] Why the context become a root

tim Rowledge tim at rowledge.org
Mon Nov 19 18:34:03 UTC 2007

On 19-Nov-07, at 10:23 AM, Mathieu Suen wrote:

> Ok so IIRC adding object into the root table that do not contain  
> young object do not bug the system.
True - we hope!
> but every object that contain young object should be inside this  
> table otherwise the gc crash?
Not quite - *old* objects that probably contain young objects need to  
be in the list, which the beRootIfOld: code should hopefully make  
clear. Young objects don't need to be in the root table because they  
get scanned anyway.

tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
"How many Pak Protectors does it take to change a lightbulb?" "Only  
one, but the lightbulb has to smell right."

More information about the Vm-dev mailing list