Home | History | Annotate | Download | only in base

Lines Matching full:reference

21 import java.lang.ref.Reference;
30 * A reference queue with an associated background thread that dequeues
34 * <p>Keep a strong reference to this object until all of the associated
45 * The Finalizer thread keeps a phantom reference to this object. When the
46 * client (ReferenceMap, for example) no longer has a strong reference to
48 * phantom reference. The enqueued reference will trigger the Finalizer to
55 * that Finalizer not have a strong reference back to the class loader.
65 * remain, the Finalizer thread keeps an indirect strong reference to the
83 * Now, Finalizer no longer keeps an indirect strong reference to the
98 /** Reference to Finalizer.startFinalizer(). */
107 * The actual reference queue that our background thread will poll.
132 logger.log(Level.INFO, "Failed to start reference finalizer thread."
133 + " Reference cleanup will only occur when new references are"
153 Reference<?> reference;
154 while ((reference = queue.poll()) != null) {
159 reference.clear();
161 ((FinalizableReference) reference).finalizeReferent();
163 logger.log(Level.SEVERE, "Error cleaning up after reference.", t);
227 * had a direct reference to our class loader (which could be that of
245 * Finalizer would indirectly reference this class loader: