Gordon Henriksen <[EMAIL PROTECTED]> wrote:

> Panic! Dump needs to refer to line 4 again, or else recurse! How?

Don't Panic! Here is the point, where either next_for_GC is used or the
seen hash. The former is/was used to mark (visit) PMCs. If they have
been visited, they have that pointer set else not. This can be used
during serialization. The latter is in my proposal.

> A seen hash is also threadsafe, can be interrupted by DoD, and is safe
> for recursion. (By "threadsafe," I mean that unchanged data structures
> can be safely serialized from multiple threads without ill effect or
> possibility of deadlock.)

Yes. That's what I'm saying.

leo

Reply via email to