Re: Doubling up pointers

Richard Brooksby <[email protected]> Thu, 15 Sep 2011 13:51:05 +0100
Newsgroups gmane.comp.programming.garbage-collection.general
Message-ID <[email protected]>
On 2011-09-14, at 18:09, Jon Harrop wrote:

> In the context of taking a snapshot of the topology of the heap, I'm
> wondering if anyone has considered or tried replacing each pointer =
with a
> pair of pointers and having the mutators work on the first/second of =
each
> pair while the GC traverses the second/first of each pair?

How would this be different from collecting a snapshot of the heap?  (I =
can think of some things but I wonder if you could elaborate.)