[M3devel] init_offset?
Dragiša Durić
dragisha at m3w.org
Sun Nov 7 13:41:40 CET 2010
We don't'.
Any pointer references on stack and in registers are recognized as bit patterns during collection and conservatively kept in place. (I think it is the notion used:).
So, no need to "volatilize" anything explicitly.
IMO :)
On Nov 7, 2010, at 1:35 PM, Jay K wrote:
> Should we maybe make all traced pointers volatile?
> Or at least stores to them?
> I know we have a compacting garbage collector.
> If it moves a pointer.. it updates any instance of that value seen on the stack?
> (and I know, we endeavor to "flush" registers when paused for gc, so that
> stack suffices and no need to worry further about registers, except on NT386
> where it is a little different, we can get/set the registers of the paused thread)
More information about the M3devel
mailing list