Home | History | Annotate | Download | only in util

Lines Matching refs:Reference

11 import java.lang.ref.Reference;
179 final Reference ref = entry.m_softValue;
195 final Reference ref = entry.m_softValue;
451 m_softValue = new IndexedSoftReference (value, valueReferenceQueue, bucketIndex); // ... do not retain a strong reference to the value
457 IndexedSoftReference m_softValue; // soft reference to the value [never null]
458 Object m_key; // strong reference to the key [never null]
490 IndexedSoftReference ref = entry.m_softValue; // get the soft value reference
492 Object entryValue = ref.get (); // convert the soft reference to a local strong one
497 // [assertion: 'softValue' couldn't have been enqueued already and can't be enqueued until strong reference in 'entryKey' is nulled out]
546 next: for (Reference _ref; (_ref = m_valueReferenceQueue.poll ()) != null; )
555 // [assertion: this reference was not cleared when the last rehash() ran and so its m_bucketIndex is correct]
585 final StringBuffer msg = new StringBuffer ("removeClearedValues(): soft reference [" + _ref + "] did not match within bucket #" + bucketIndex + EOL);
600 private final ReferenceQueue m_valueReferenceQueue; // reference queue for all references used by SoftEntry objects used by this table