[gclist] Java Phantom references.
DICK@watson.ibm.com
DICK@watson.ibm.com
Thu, 15 Mar 01 16:49:06 EST
***** Reply to your note of: Thu, 15 Mar 2001 15:35:20 -0600 *************
The Addison=Wesley book "The Java Class Libraries Second Edition,
Volume 1 Supplement for the Java 2 Platform Standard Edition, v1.2"
ISBN 0 201 48552 4 discusses phantom references - p 698.
I think they're supposed to be a generalization of finalizable
objects (with wrinkles - see soft/weak references also) - rather
than just a finalize() method of a finalizable object, _any_
object can be notified when some object of interest becomes
garbage.
C.R. Attanasio