ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166e/ConcurrentHashMapV8.java
(Generate patch)

Comparing jsr166/src/jsr166e/ConcurrentHashMapV8.java (file contents):
Revision 1.71 by dl, Tue Oct 30 14:23:03 2012 UTC vs.
Revision 1.72 by jsr166, Tue Oct 30 16:05:35 2012 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines