[Vm-dev] Why the context become a root

Andreas Raab andreas.raab at gmx.de
Mon Nov 19 14:47:56 UTC 2007


Because stores into the active context are unguarded (see push bytecodes 
etc).

Cheers,
  - Andreas

Mathieu Suen wrote:
> 
> Hi,
> 
> Inside Interpreter>>commonReturn the sender context is store inside the 
> root table:
> 
> commonReturn
>     ...
> 
>     activeContext := thisCntx.
>     (thisCntx < youngStart) ifTrue: [ self beRootIfOld: thisCntx ].
>     ...
> 
> I am asking why because it is not necessary that the sender context will 
> contain young object?
> 
> 
>     Mth
> 
> 
> 


More information about the Vm-dev mailing list