On Monday 02 June 2008 13:10:32 [EMAIL PROTECTED] wrote: > +/* > + * 2) Mark root items as grey > + * I don't currently know how to determine which items are root. However, > + * When we find them, we can mark them > + */
The existing GC systems all start with interp->iglobals. Note that this doesn't scan the C stack or CPU registers for live entities. > +#define GC_IT_NEED_TA_DO_DA_BREAK(x) ((x)->break) Every time you mark one entity as black, you could do this break. You don't want to break any more frequently (though you might want to break less frequently). -- c