lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> I believe an incremental mark-sweep, and possibly also generational,
> suffers from a similar problem: you must have a write-barrier to
> enforce your invariants.

For a generational GC, we can consider that the stack is always new, so
we do not need a write-barrier when manipulating the stack. That greatly
simplifies the implementation (and also improves the performance).

-- Roberto