On 2012-08-24 09:32, Simen Kjaeraas wrote:

It certainly would be possible. But I believe it requires thread-local
heaps, and some way of keeping track of when an object changes owning
thread.

Yeah, I was think about that. Are thread local heaps a problem?

Perhaps a mark phase could run on each thread's heap, and unreferenced
objects be moved to a global list of potentially dead objects. If after
all threads have run a mark, none have claimed the objects, they're
collected.

Then again, I'm hardly a GC architect.

Me neither.

--
/Jacob Carlborg

Reply via email to