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

Comparing jsr166/src/main/java/util/concurrent/ForkJoinPool.java (file contents):
Revision 1.274 by jsr166, Sat Sep 19 22:24:53 2015 UTC vs.
Revision 1.275 by jsr166, Sat Sep 19 23:01:21 2015 UTC

# Line 3487 | Line 3487 | public class ForkJoinPool extends Abstra
3487          common = java.security.AccessController.doPrivileged
3488              (new java.security.PrivilegedAction<ForkJoinPool>() {
3489                  public ForkJoinPool run() { return makeCommonPool(); }});
3490 <        
3490 >
3491          // report 1 even if threads disabled
3492          COMMON_PARALLELISM = Math.max(common.config & SMASK, 1);
3493      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines