Home
last modified time | relevance | path

Searched refs:valueReferenceQueue (Results 1 – 5 of 5) sorted by relevance

/external/emma/core/java12/com/vladium/util/
DSoftValueMap.java447 …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/
DLocalCache.java393 ? new SoftValueReference<K, V>(segment.valueReferenceQueue, value, entry) in referenceValue()
395 segment.valueReferenceQueue, value, entry, weight); in referenceValue()
409 ? new WeakValueReference<K, V>(segment.valueReferenceQueue, value, entry) in referenceValue()
411 segment.valueReferenceQueue, value, entry, weight); in referenceValue()
2105 final ReferenceQueue<V> valueReferenceQueue; field in LocalCache.Segment
2147 valueReferenceQueue = map.usesValueReferences() in Segment()
2185 newEntry.setValueReference(valueReference.copyFor(this.valueReferenceQueue, newEntry)); in copyEntry()
2529 while ((ref = valueReferenceQueue.poll()) != null) { in drainValueReferenceQueue()
2556 while (valueReferenceQueue.poll() != null) {} in clearValueReferenceQueue()
/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java313 return new SoftValueReference<K, V>(segment.valueReferenceQueue, value, entry); in referenceValue()
326 return new WeakValueReference<K, V>(segment.valueReferenceQueue, value, entry); in referenceValue()
2111 final ReferenceQueue<V> valueReferenceQueue; field in MapMakerInternalMap.Segment
2148 valueReferenceQueue = map.usesValueReferences() in Segment()
2186 newEntry.setValueReference(valueReference.copyFor(this.valueReferenceQueue, newEntry)); in copyEntry()
2247 while ((ref = valueReferenceQueue.poll()) != null) { in drainValueReferenceQueue()
2274 while (valueReferenceQueue.poll() != null) {} in clearValueReferenceQueue()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java1558 assertNull(segment.valueReferenceQueue.poll()); in testDrainValueReferenceQueueOnWrite()
1621 assertNull(segment.valueReferenceQueue.poll()); in testDrainValueReferenceQueueOnRead()
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java2227 assertNull(segment.valueReferenceQueue.poll()); in testDrainValueReferenceQueueOnWrite()
2290 assertNull(segment.valueReferenceQueue.poll()); in testDrainValueReferenceQueueOnRead()