Searched refs:referenceQueue (Results 1 – 2 of 2) sorted by relevance
31 ReferenceQueue<Object> referenceQueue = new ReferenceQueue<Object>(); in testRemoveWithInvalidTimeout() local33 referenceQueue.remove(-1); in testRemoveWithInvalidTimeout()53 ReferenceQueue<Object> referenceQueue = new ReferenceQueue<Object>(); in testRemoveWithVeryLargeTimeout() local54 enqueueLater(referenceQueue, 500); in testRemoveWithVeryLargeTimeout()55 referenceQueue.remove(Long.MAX_VALUE); in testRemoveWithVeryLargeTimeout()59 final ReferenceQueue<Object> referenceQueue = new ReferenceQueue<Object>(); in testRemoveWithSpuriousNotify() local63 synchronized (referenceQueue) { in testRemoveWithSpuriousNotify()64 referenceQueue.notifyAll(); in testRemoveWithSpuriousNotify()71 referenceQueue.remove(timeoutMsec); in testRemoveWithSpuriousNotify()78 ReferenceQueue<Object> referenceQueue = new ReferenceQueue<Object>(); in testRemoveWithImmediateResultAndNoTimeout() local[all …]
313 private static final ReferenceQueue<Object> referenceQueue = new ReferenceQueue<>(); field in ResourceBundle571 loaderRef = new LoaderReference(loader, referenceQueue, this); in CacheKey()656 referenceQueue, clone); in clone()1427 while ((ref = referenceQueue.poll()) != null) { in findBundle()1691 BundleReference bundleRef = new BundleReference(bundle, referenceQueue, key); in putBundleInCache()