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.138 by dl, Tue Oct 30 14:23:07 2012 UTC vs.
Revision 1.139 by jsr166, Tue Oct 30 16:05:36 2012 UTC

# Line 4971 | Line 4971 | public class ConcurrentHashMap<K, V>
4971                      baseLimit = baseSize = t.length;
4972                  if (t != null) {
4973                      long n = m.counter.sum();
4974 <                    int par = (pool = getPool()) == null?
4974 >                    int par = ((pool = getPool()) == null) ?
4975                          ForkJoinPool.getCommonPoolParallelism() :
4976                          pool.getParallelism();
4977                      int sp = par << 3; // slack of 8

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines