[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: garbage collection thoughts... again?!
- From: James McCartney <asynth@...>
- Date: Sun, 1 Jun 2003 08:48:07 -0700
On Sunday, June 1, 2003, at 05:29 AM, Wim Couwenberg wrote:
It should be possible to halt a M&S algorithm at (almost) any stage if
divide collectible objects in "even" and "odd" generations. Each GC
only considers object of a single (current) generation. Then switch
parity that will be used for newly created objects at the beginning of
GC cycle. Marking must be an atomic operation and it flips the
You can get a lot more fine grained than that.
If you want to read up on incremental GC :
Paul Wilson's GC survey. extremely informative.
Wilson and Johnstone's real time GC. I implemented this in my language.
--- james mccartney email@example.com <http://www.audiosynth.com>
SuperCollider - a real time audio synthesis programming language for