Public Member Functions | |
this (K key, uint hash, HashEntry next, V value) | |
Public Attributes | |
K | key |
uint | hash |
V | value |
HashEntry | next |
Because the value field is volatile, not final, it is legal wrt the Java Memory Model for an unsynchronized reader to see null instead of initial value when read via a data race. Although a reordering leading to this is not likely to ever actually occur, the Segment.readValueUnderLock method is used as a backup in case a null (pre-initialized) value is ever seen in an unsynchronized access method.
Definition at line 327 of file HashMap.d.
|
Definition at line 334 of file HashMap.d. References HashMap::hash, HashMap::K, key, next, HashMap::V, and value. |
|
Definition at line 329 of file HashMap.d. Referenced by HashMap::Segment::containsKey(), HashMap::Segment::get(), HashMap::opApply(), HashMap::Segment::put(), HashMap::Segment::rehash(), HashMap::Segment::remove(), HashMap::Segment::replace(), and this(). |
|
Definition at line 330 of file HashMap.d. Referenced by HashMap::Segment::containsKey(), HashMap::Segment::get(), HashMap::Segment::put(), HashMap::Segment::rehash(), HashMap::Segment::remove(), and HashMap::Segment::replace(). |
|
Definition at line 331 of file HashMap.d. Referenced by HashMap::Segment::get(), HashMap::opApply(), HashMap::Segment::put(), HashMap::Segment::rehash(), HashMap::Segment::remove(), HashMap::Segment::replace(), and this(). |
|
Definition at line 332 of file HashMap.d. Referenced by HashMap::HashIterator::advance(), HashMap::Segment::containsKey(), HashMap::Segment::get(), HashMap::Segment::put(), HashMap::Segment::rehash(), HashMap::Segment::remove(), HashMap::Segment::replace(), and this(). |