ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java (file contents):
Revision 1.321 by dl, Sun Oct 6 20:25:09 2019 UTC vs.
Revision 1.322 by jsr166, Mon Oct 14 22:10:19 2019 UTC

# Line 1643 | Line 1643 | public class ConcurrentHashMap<K,V> exte
1643       * if the key is absent, else not at all.  Some attempted update
1644       * operations on this map by other threads may be blocked while
1645       * computation is in progress, so the computation should be short
1646 <     * and simple, and must not attempt to update any other mappings
1647 <     * of this map.
1646 >     * and simple.
1647 >     *
1648 >     * <p>The mapping function must not modify this map during computation.
1649       *
1650       * @param key key with which the specified value is to be associated
1651       * @param mappingFunction the function to compute a value
# Line 1755 | Line 1756 | public class ConcurrentHashMap<K,V> exte
1756       * this method if the key is present, else not at all.  Some
1757       * attempted update operations on this map by other threads may be
1758       * blocked while computation is in progress, so the computation
1759 <     * should be short and simple, and must not attempt to update any
1760 <     * other mappings of this map.
1759 >     * should be short and simple.
1760 >     *
1761 >     * <p>The remapping function must not modify this map during computation.
1762       *
1763       * @param key key with which a value may be associated
1764       * @param remappingFunction the function to compute a value
# Line 1848 | Line 1850 | public class ConcurrentHashMap<K,V> exte
1850       * The supplied function is invoked exactly once per invocation of
1851       * this method.  Some attempted update operations on this map by
1852       * other threads may be blocked while computation is in progress,
1853 <     * so the computation should be short and simple, and must not
1854 <     * attempt to update any other mappings of this Map.
1853 >     * so the computation should be short and simple.
1854 >     *
1855 >     * <p>The remapping function must not modify this map during computation.
1856       *
1857       * @param key key with which the specified value is to be associated
1858       * @param remappingFunction the function to compute a value

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines