Home
last modified time | relevance | path

Searched refs:refQueue (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/reflect/
DWeakCache.java59 private final ReferenceQueue<K> refQueue field in WeakCache
105 Object cacheKey = CacheKey.valueOf(key, refQueue); in get()
189 while ((cacheKey = (CacheKey<K>)refQueue.poll()) != null) { in expungeStaleEntries()
332 static <K> Object valueOf(K key, ReferenceQueue<K> refQueue) { in valueOf() argument
338 : new CacheKey<>(key, refQueue); in valueOf()
343 private CacheKey(K key, ReferenceQueue<K> refQueue) { in CacheKey() argument
344 super(key, refQueue); in CacheKey()
/libcore/ojluni/src/test/java/lang/ref/
DReferenceEnqueuePendingTest.java62 ReferenceQueue<Integer> refQueue = new ReferenceQueue<>(); in testReferenceEnqueuePending() local
81 NumberedWeakReference weaky = new NumberedWeakReference(obj, refQueue, 0); in testReferenceEnqueuePending()
99 weaky = new NumberedWeakReference(obj, refQueue, i); in testReferenceEnqueuePending()
109 checkResult(refQueue, iterations-1); in testReferenceEnqueuePending()
/libcore/ojluni/src/main/java/java/lang/
DThread.java2374 WeakClassKey(Class<?> cl, ReferenceQueue<Class<?>> refQueue) { in WeakClassKey() argument
2375 super(cl, refQueue); in WeakClassKey()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThread.java509 java.lang.Class<?> cl, java.lang.ref.ReferenceQueue<java.lang.Class<?>> refQueue) { in WeakClassKey() argument
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectStreamClass.java714 java.lang.Class<?> cl, java.lang.ref.ReferenceQueue<java.lang.Class<?>> refQueue) { in WeakClassKey() argument
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java2543 WeakClassKey(Class<?> cl, ReferenceQueue<Class<?>> refQueue) { in WeakClassKey() argument
2544 super(cl, refQueue); in WeakClassKey()