[Gc] WeakReference tracking past finalization

Zach Saw zach.saw at gmail.com
Wed Nov 7 21:44:25 PST 2012


In .NET and my own GC, there's the concept of a short and long weak
reference. One that tracks until finalization is short (that's the one I
know how to implement with BoehmGC) and the one that tracks past it (i.e.
only cleared when it isn't resurrected in the finalizer) is long.

How do we go about implementing the long weak ref?

Thanks,
Zach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://napali.hpl.hp.com/pipermail/gc/attachments/20121108/1c40f76a/attachment-0001.htm


More information about the Gc mailing list