Home
last modified time | relevance | path

Searched refs:FinalizerReference (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/lang/ref/
DFinalizerReference.java22 public final class FinalizerReference<T> extends Reference<T> { class
31 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 FinalizerReference
54 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 …]
/libcore/libart/src/main/java/java/lang/
DDaemons.java20 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()
/libcore/luni/src/main/java/java/lang/
DRuntime.java44 import java.lang.ref.FinalizerReference;
441 FinalizerReference.finalizeAllEnqueued(); in runFinalization()