Searched refs:valueReferenceQueue (Results 1 – 5 of 5) sorted by relevance
/external/emma/core/java12/com/vladium/util/ |
D | SoftValueMap.java | 447 …SoftEntry (final ReferenceQueue valueReferenceQueue, final Object key, Object value, final SoftEnt… in SoftEntry() argument 451 …m_softValue = new IndexedSoftReference (value, valueReferenceQueue, bucketIndex); // ... do not re… in SoftEntry()
|
/external/guava/guava/src/com/google/common/cache/ |
D | LocalCache.java | 398 ? new SoftValueReference<K, V>(segment.valueReferenceQueue, value, entry) in referenceValue() 400 segment.valueReferenceQueue, value, entry, weight); in referenceValue() 414 ? new WeakValueReference<K, V>(segment.valueReferenceQueue, value, entry) in referenceValue() 416 segment.valueReferenceQueue, value, entry, weight); in referenceValue() 2057 final ReferenceQueue<V> valueReferenceQueue; field in LocalCache.Segment 2099 valueReferenceQueue = map.usesValueReferences() in Segment() 2152 newEntry.setValueReference(valueReference.copyFor(this.valueReferenceQueue, value, newEntry)); in copyEntry() 2501 while ((ref = valueReferenceQueue.poll()) != null) { in drainValueReferenceQueue() 2528 while (valueReferenceQueue.poll() != null) {} in clearValueReferenceQueue()
|
/external/guava/guava/src/com/google/common/collect/ |
D | MapMakerInternalMap.java | 312 return new SoftValueReference<K, V>(segment.valueReferenceQueue, value, entry); in referenceValue() 325 return new WeakValueReference<K, V>(segment.valueReferenceQueue, value, entry); in referenceValue() 2061 final ReferenceQueue<V> valueReferenceQueue; field in MapMakerInternalMap.Segment 2098 valueReferenceQueue = map.usesValueReferences() in Segment() 2151 newEntry.setValueReference(valueReference.copyFor(this.valueReferenceQueue, value, newEntry)); in copyEntry() 2212 while ((ref = valueReferenceQueue.poll()) != null) { in drainValueReferenceQueue() 2239 while (valueReferenceQueue.poll() != null) {} in clearValueReferenceQueue()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapMakerInternalMapTest.java | 1532 assertNull(segment.valueReferenceQueue.poll()); in testDrainValueReferenceQueueOnWrite() 1595 assertNull(segment.valueReferenceQueue.poll()); in testDrainValueReferenceQueueOnRead()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | LocalCacheTest.java | 2314 assertNull(segment.valueReferenceQueue.poll()); in testDrainValueReferenceQueueOnWrite() 2377 assertNull(segment.valueReferenceQueue.poll()); in testDrainValueReferenceQueueOnRead()
|