Provides reference-object classes, which support a limited degree
of interaction with the garbage collector.
-
Cleaner
manages a set of object references and corresponding cleaning actions.
Cleanable
represents an object and a
cleaning action registered in a Cleaner
.
Abstract base class for reference objects.
Reference queues, to which registered reference objects are appended by the
garbage collector after the appropriate reachability changes are detected.