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.147 by jsr166, Tue Feb 5 01:13:23 2013 UTC vs.
Revision 1.148 by jsr166, Tue Feb 5 01:17:43 2013 UTC

# Line 2422 | Line 2422 | public class ForkJoinPool extends Abstra
2422       *         java.lang.RuntimePermission}{@code ("modifyThread")}
2423       */
2424      public ForkJoinPool() {
2425 <        int parallelism =
2426 <            Math.min(MAX_CAP, Runtime.getRuntime().availableProcessors());
2427 <        this(parallelism, defaultForkJoinWorkerThreadFactory, null, false);
2425 >        this(Math.min(MAX_CAP, Runtime.getRuntime().availableProcessors()),
2426 >             defaultForkJoinWorkerThreadFactory, null, false);
2427      }
2428  
2429      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines