[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Garbage Collection
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 30 Oct 2002 16:13:04 -0300
> 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