# | Line 950 | Line 950 | public class ConcurrentHashMap<K, V> ext | |
---|---|---|
950 | throw new NullPointerException(); | |
951 | final Segment<K,V>[] segments = this.segments; | |
952 | boolean found = false; | |
953 | < | long last = 0; |
953 | > | long last = 0L; // previous sum |
954 | int retries = -1; | |
955 | try { | |
956 | outer: for (;;) { | |
# | Line 958 | Line 958 | public class ConcurrentHashMap<K, V> ext | |
958 | for (int j = 0; j < segments.length; ++j) | |
959 | ensureSegment(j).lock(); // force creation | |
960 | } | |
961 | < | int sum = 0; |
961 | > | long sum = 0L; |
962 | for (int j = 0; j < segments.length; ++j) { | |
963 | HashEntry<K,V>[] tab; | |
964 | Segment<K,V> seg = segmentAt(segments, j); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |