Home » Eclipse Projects » Memory Analyzer (MAT) » References hold by Finalizer
References hold by Finalizer [message #500922] Mon, 30 November 2009 05:23 Go to next message
Stefan Röck  is currently offline Stefan Röck
Messages: 258
Registered: July 2009
Senior Member
Hi,

what does it mean if references to an Object are hold by
java.lang.ref.Finalizer. This is the only path to a GC root - why isn't
that instance removed?

Thanks,
Stefan.
Re: References hold by Finalizer [message #501038 is a reply to message #500922 ] Mon, 30 November 2009 13:54 Go to previous message
Andreas Buchen  is currently offline Andreas Buchen
Messages: 107
Registered: July 2009
Senior Member
Hi Stefan,

if an object is held only via the "reference" field of the Finalizer, it could mean that the Finalizer has not yet run - the object is still in the queue to be finalized. Or the object has not yet been added into the finalizer queue.

Cheers,

Andreas.
Previous Topic:DTFJ adapter doesn't show attributes and values
Next Topic:Retained heap in histogram view
Goto Forum: