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

Comparing jsr166/src/jdk7/java/util/concurrent/ConcurrentHashMap.java (file contents):
Revision 1.38 by jsr166, Sun Dec 1 16:56:07 2013 UTC vs.
Revision 1.39 by dl, Sun Dec 1 20:55:54 2013 UTC

# Line 1761 | Line 1761 | public class ConcurrentHashMap<K,V> impl
1761                      return;
1762                  }
1763                  if (U.compareAndSwapInt(this, SIZECTL, sc = sizeCtl, sc - 1)) {
1764 <                    if ((sc - 2) != resizeStamp(n))
1764 >                    if ((sc - 2) != resizeStamp(n) << RESIZE_STAMP_SHIFT)
1765                          return;
1766                      finishing = advance = true;
1767                      i = n; // recheck before commit

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines