# Uses of Package
java.lang.ref

Packages that use java.lang.ref
Package
Description
java.lang.ref
Provides reference-object classes, which support a limited degree of interaction with the garbage collector.
jdk.incubator.foreign
Classes to support low-level and efficient foreign memory/function access, directly from Java.

- Classes in java.lang.ref used by java.lang.ref
  Class
  Description
  Cleaner
  `Cleaner` manages a set of object references and corresponding cleaning actions.
  Cleaner.Cleanable
  `Cleanable` represents an object and a cleaning action registered in a `Cleaner`.
  Reference
  Abstract base class for reference objects.
  ReferenceQueue
  Reference queues, to which registered reference objects are appended by the garbage collector after the appropriate reachability changes are detected.
- Classes in java.lang.ref used by jdk.incubator.foreign
  Class
  Description
  Cleaner
  `Cleaner` manages a set of object references and corresponding cleaning actions.