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.146 by dl, Fri Nov 23 17:50:56 2012 UTC vs.
Revision 1.147 by jsr166, Sat Nov 24 03:46:28 2012 UTC

# Line 2504 | Line 2504 | public class ConcurrentHashMap<K, V>
2504                      b = (n <= 0L) ? 0 : (n < (long)sp) ? (int)n : sp;
2505                  }
2506              }
2507 <            b = (b <= 1 || baseIndex == baseLimit)? 0 : (b >>> 1);
2507 >            b = (b <= 1 || baseIndex == baseLimit) ? 0 : (b >>> 1);
2508              if ((batch = b) > 0)
2509                  addToPendingCount(1);
2510              return b;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines