Title: Garbage Collection: help needed

I have a bunch of graphic components on which
I keep some WeakReferences. Some of them display
a JDialog. As soon as one of these panels displays
its JDialog, it's never garbage collected. The JDialog
subclass keeps a reference to the owning panel for some
reason, but I can't see why the JDialog is never collected.
Does anyone know why it could happen? Where could I find
a tool which could tell me which path is used to make a
strong indirect reference to the JDialog?

Best regards,

Frederic

Reply via email to