Searched refs:FinalizerReference (Results 1 – 3 of 3) sorted by relevance
22 public final class FinalizerReference<T> extends Reference<T> { class31 private static FinalizerReference<?> head = null;34 private FinalizerReference<?> prev;35 private FinalizerReference<?> next;41 public FinalizerReference(T r, ReferenceQueue<? super T> q) { in FinalizerReference() method in FinalizerReference54 FinalizerReference<?> reference = new FinalizerReference<Object>(referent, queue); in add()65 public static void remove(FinalizerReference<?> reference) { in remove()67 FinalizerReference<?> next = reference.next; in remove()68 FinalizerReference<?> prev = reference.prev; in remove()102 for (FinalizerReference<?> r = head; r != null; r = r.next) { in enqueueSentinelReference()[all …]
20 import java.lang.ref.FinalizerReference;166 private final ReferenceQueue<Object> queue = FinalizerReference.queue;174 doFinalize((FinalizerReference<?>) queue.remove()); in run()181 private void doFinalize(FinalizerReference<?> reference) { in doFinalize()182 FinalizerReference.remove(reference); in doFinalize()
44 import java.lang.ref.FinalizerReference;441 FinalizerReference.finalizeAllEnqueued(); in runFinalization()