Home
last modified time | relevance | path

Searched refs:Cleaner (Results 1 – 21 of 21) sorted by relevance

/libcore/ojluni/annotations/hiddenapi/sun/misc/
DCleaner.java31 public class Cleaner extends java.lang.ref.PhantomReference<java.lang.Object> { class
33 private Cleaner(java.lang.Object referent, java.lang.Runnable thunk) { in Cleaner() method in Cleaner
38 private static synchronized sun.misc.Cleaner add(sun.misc.Cleaner cl) { in add()
42 private static synchronized boolean remove(sun.misc.Cleaner cl) { in remove()
47 public static sun.misc.Cleaner create(java.lang.Object ob, java.lang.Runnable thunk) { in create()
62 private static sun.misc.Cleaner first;
64 private sun.misc.Cleaner next;
66 private sun.misc.Cleaner prev;
/libcore/ojluni/src/main/java/sun/misc/
DCleaner.java58 public class Cleaner class
71 static private Cleaner first = null;
73 private Cleaner
77 private static synchronized Cleaner add(Cleaner cl) { in add()
86 private static synchronized boolean remove(Cleaner cl) { in remove()
113 private Cleaner(Object referent, Runnable thunk) { in Cleaner() method in Cleaner
129 public static Cleaner create(Object ob, Runnable thunk) { in create()
132 return add(new Cleaner(ob, thunk)); in create()
/libcore/ojluni/src/main/java/sun/nio/fs/
DNativeBuffer.java29 import sun.misc.Cleaner;
40 private final Cleaner cleaner;
59 this.cleaner = Cleaner.create(this, new Deallocator(address)); in NativeBuffer()
80 Cleaner cleaner() { in cleaner()
/libcore/ojluni/src/main/java/sun/nio/ch/
DDirectBuffer.java28 import sun.misc.Cleaner;
37 public Cleaner cleaner(); in cleaner()
DUtil.java34 import sun.misc.Cleaner;
296 Cleaner cleaner = ((DirectBuffer)buf).cleaner(); in free()
DIOVecWrapper.java104 Cleaner.create(wrapper, new Deallocator(wrapper.vecArray)); in get()
DFileChannelImpl.java55 import sun.misc.Cleaner;
898 Cleaner cl = ((DirectBuffer)bb).cleaner(); in unmap()
/libcore/ojluni/annotations/mmodule/sun/misc/
DCleaner.annotated.java35 public class Cleaner extends java.lang.ref.PhantomReference<java.lang.Object> { class
38 Cleaner(java.lang.Object referent, java.lang.Runnable thunk) { super(null, null); throw new Runtime… in Cleaner() method in Cleaner
43 public static sun.misc.Cleaner create(java.lang.Object ob, java.lang.Runnable thunk) { throw new Ru… in create()
/libcore/luni/src/main/java/libcore/util/
DNativeAllocationRegistry.java24 import sun.misc.Cleaner;
268 Cleaner cleaner = Cleaner.create(referent, thunk); in registerNativeAllocation()
302 private final Cleaner cleaner;
304 public CleanerRunner(Cleaner cleaner) { in CleanerRunner()
/libcore/ojluni/src/main/java/java/lang/ref/
DReferenceQueue.java29 import sun.misc.Cleaner;
72 if (r instanceof Cleaner) { in enqueueLocked()
76 Cleaner cl = (sun.misc.Cleaner) r; in enqueueLocked()
/libcore/ojluni/annotations/mmodule/sun/nio/ch/
DDirectBuffer.annotated.java38 public sun.misc.Cleaner cleaner(); in cleaner()
/libcore/luni/src/test/java/libcore/java/lang/ref/
DReferenceQueueTest.java26 import sun.misc.Cleaner;
121 Cleaner cleaner = Cleaner.create(object, new Runnable() { in testCleanersCleaned()
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/
DDirectBuffer.java39 public sun.misc.Cleaner cleaner(); in cleaner()
/libcore/ojluni/annotations/hiddenapi/java/nio/
DDirectByteBuffer.java83 public final sun.misc.Cleaner cleaner() { in cleaner()
431 final sun.misc.Cleaner cleaner;
/libcore/ojluni/src/main/java/java/nio/
DDirectByteBuffer.java33 import sun.misc.Cleaner;
95 final Cleaner cleaner;
126 cleaner = Cleaner.create(memoryRef, unmapper); in DirectByteBuffer()
152 public final Cleaner cleaner() { in cleaner()
/libcore/ojluni/annotations/hiddenapi/java/util/logging/
DLogManager.java330 private class Cleaner extends java.lang.Thread { class in LogManager
332 private Cleaner() { in Cleaner() method in LogManager.Cleaner
/libcore/ojluni/annotations/mmodule/java/nio/
DDirectByteBuffer.annotated.java46 public final sun.misc.Cleaner cleaner() { throw new RuntimeException("Stub!"); } in cleaner()
/libcore/mmodules/core_platform_api/api/stable_platform/
Dcurrent.txt780 public class Cleaner extends java.lang.ref.PhantomReference<java.lang.Object> {
782 method public static sun.misc.Cleaner create(Object, Runnable);
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent.txt780 public class Cleaner extends java.lang.ref.PhantomReference<java.lang.Object> {
782 method public static sun.misc.Cleaner create(Object, Runnable);
/libcore/api/
Dmodule-lib-current.txt780 public class Cleaner extends java.lang.ref.PhantomReference<java.lang.Object> {
782 method public static sun.misc.Cleaner create(Object, Runnable);
/libcore/
Dopenjdk_java_files.bp1417 "ojluni/src/main/java/sun/misc/Cleaner.java",