/libcore/ojluni/src/test/java/lang/ref/ |
D | ReferenceCloneTest.java | 71 public SoftRef(Object referent) { in SoftRef() argument 72 super(referent, QUEUE); in SoftRef() 80 public WeakRef(Object referent) { in WeakRef() argument 81 super(referent, QUEUE); in WeakRef() 89 public PhantomRef(Object referent) { in PhantomRef() argument 90 super(referent, QUEUE); in PhantomRef() 100 public CloneableReference(Object referent) { in CloneableReference() argument 101 super(referent, QUEUE); in CloneableReference()
|
D | ReferenceEnqueuePendingTest.java | 40 NumberedWeakReference(Integer referent, ReferenceQueue<Integer> q, int i) { in NumberedWeakReference() argument 41 super(referent, q); in NumberedWeakReference()
|
/libcore/ojluni/src/main/java/java/lang/ref/ |
D | Reference.java | 71 volatile T referent; field in Reference 223 Reference(T referent) { in Reference() argument 224 this(referent, null); in Reference() 227 Reference(T referent, ReferenceQueue<? super T> queue) { in Reference() argument 228 this.referent = referent; in Reference()
|
D | WeakReference.java | 56 public WeakReference(T referent) { in WeakReference() argument 57 super(referent); in WeakReference() 68 public WeakReference(T referent, ReferenceQueue<? super T> q) { in WeakReference() argument 69 super(referent, q); in WeakReference()
|
D | SoftReference.java | 88 public SoftReference(T referent) { in SoftReference() argument 89 super(referent); in SoftReference() 102 public SoftReference(T referent, ReferenceQueue<? super T> q) { in SoftReference() argument 103 super(referent, q); in SoftReference()
|
D | PhantomReference.java | 76 public PhantomReference(T referent, ReferenceQueue<? super T> q) { in PhantomReference() argument 77 super(referent, q); in PhantomReference()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ref/ |
D | Reference.java | 34 Reference(T referent) { in Reference() argument 38 Reference(T referent, java.lang.ref.ReferenceQueue<? super T> queue) { in Reference() argument 80 volatile T referent; field in Reference
|
/libcore/ojluni/src/main/java/jdk/internal/ref/ |
D | PhantomCleanable.java | 65 public PhantomCleanable(T referent, Cleaner cleaner) { in PhantomCleanable() argument 66 super(Objects.requireNonNull(referent), CleanerImpl.getCleanerImpl(cleaner).queue); in PhantomCleanable() 71 Reference.reachabilityFence(referent); in PhantomCleanable()
|
D | Cleaner.java | 114 private Cleaner(Object referent, Runnable thunk) { in Cleaner() argument 115 super(referent, dummyQueue); in Cleaner()
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | NativeAllocationRegistryTest.java | 166 Object referent = new Object(); in testEarlyFree() local 167 Runnable cleaner = registry.registerNativeAllocation(referent, nativePtr); in testEarlyFree() 180 referent = null; in testEarlyFree() 204 final Object referent = new Object(); in testNullArguments() local 216 registry.registerNativeAllocation(referent, 0); in testNullArguments()
|
/libcore/luni/src/main/java/libcore/util/ |
D | NativeAllocationRegistry.java | 259 public @NonNull Runnable registerNativeAllocation(@NonNull Object referent, long nativePtr) { in registerNativeAllocation() argument 260 if (referent == null) { in registerNativeAllocation() 271 Cleaner cleaner = Cleaner.create(referent, thunk); in registerNativeAllocation() 281 Reference.reachabilityFence(referent); in registerNativeAllocation()
|
/libcore/ojluni/src/test/java/lang/ref/SoftReference/ |
D | BashTest.java | 47 public TestReference(Object referent) { in TestReference() argument 48 super(referent); in TestReference()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Cleaner.java | 113 private Cleaner(Object referent, Runnable thunk) { in Cleaner() argument 114 super(referent, dummyQueue); in Cleaner()
|
/libcore/luni/src/main/java/java/lang/ref/ |
D | FinalizerReference.java | 60 public static void add(Object referent) { in add() argument 61 FinalizerReference<?> reference = new FinalizerReference<Object>(referent, queue); in add()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
D | ReferenceTest.java | 43 public TestWeakReference(T referent, ReferenceQueue<? super T> q) { in TestWeakReference() argument 44 super(referent, q); in TestWeakReference() 324 public TestObject(String referent) { in test_finalizeReferenceInteraction() argument 325 stringRef = new WeakReference<String>(referent); in test_finalizeReferenceInteraction()
|
D | PhantomReferenceTest.java | 71 public TestPhantomReference(T referent, in check_gcInteraction() argument 73 super(referent, q); in check_gcInteraction()
|
/libcore/ojluni/annotations/mmodule/sun/misc/ |
D | Cleaner.annotated.java | 37 Cleaner(java.lang.Object referent, java.lang.Runnable thunk) { super(null, null); throw new Runtime… in Cleaner() argument
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | Cleaner.java | 33 private Cleaner(java.lang.Object referent, java.lang.Runnable thunk) { in Cleaner() argument
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileLockTable.java | 91 FileLockReference(FileLock referent, in FileLockReference() argument 94 super(referent, queue); in FileLockReference()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Thread.java | 2399 Object referent = get(); in equals() local 2400 return (referent != null) && in equals() 2401 (referent == ((WeakClassKey) obj).get()); in equals()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ResourceBundle.java | 833 KeyElementReference(T referent, ReferenceQueue<Object> q, CacheKey key) { in KeyElementReference() argument 834 super(referent, q); in KeyElementReference() 852 BundleReference(ResourceBundle referent, ReferenceQueue<Object> q, CacheKey key) { in BundleReference() argument 853 super(referent, q); in BundleReference()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 2408 Class<?> referent; in equals() local 2410 : ((referent = get()) != null) && in equals() 2411 (referent == other.get())) && in equals() 2567 Object referent = get(); in equals() local 2568 return (referent != null) && in equals() 2569 (referent == ((WeakClassKey) obj).get()); in equals()
|