Uses of Package
Provides reference-object classes, which support a limited degree of interaction with the garbage collector.
Classes in java.lang.ref used by java.lang.ref Class Description Cleaner
Cleanermanages a set of object references and corresponding cleaning actions.
Cleanablerepresents an object and a cleaning action registered in a
ReferenceAbstract base class for reference objects. ReferenceQueueReference queues, to which registered reference objects are appended by the garbage collector after the appropriate reachability changes are detected.