This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git
The following commit(s) were added to refs/heads/master by this push:
new fda5b967b Javadoc
fda5b967b is described below
commit fda5b967b89870bee3677e5029eacfc2c3ce8ddb
Author: Gary D. Gregory <[email protected]>
AuthorDate: Sat Nov 1 06:47:34 2025 -0400
Javadoc
---
.../apache/commons/collections4/map/ConcurrentReferenceHashMap.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java
b/src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java
index 979c15c23..78a5bc9f5 100644
---
a/src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java
+++
b/src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java
@@ -400,9 +400,9 @@ public class ConcurrentReferenceHashMap<K, V> extends
AbstractMap<K, V> implemen
/**
* ConcurrentReferenceHashMap list entry. Note that this is never exported
out as a user-visible Map.Entry.
* <p>
- * 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.
+ * Because the value field is volatile, not final, it is legal with
respect to 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.
* </p>
*/
private static final class HashEntry<K, V> {