[Gc] Question about weak references

Stephane Epardaud Stephane.Epardaud at sophia.inria.fr
Thu Dec 7 02:42:12 PST 2006


Some more questions regarding weak references.
Is there a way to ask the GC if a certain address has been allocated by 
the GC ?
Do I need to unregister the dissapearing link in the finalizer of the 
object holding the link ?
Or is this done by the GC automatically when it collects the link ?
I'm trying to use this system in Bigloo, and Manuel Serrano tells me 
using finalizers makes
the GC noticeably slower. Is this still true ?
Does using dissapearing links enable the same code paths than the 
finalizers ?
Thank you for your help.


More information about the Gc mailing list