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

Comparing jsr166/src/jdk7/java/util/concurrent/ForkJoinPool.java (file contents):
Revision 1.12 by jsr166, Mon Jan 28 19:01:38 2013 UTC vs.
Revision 1.13 by jsr166, Tue Feb 5 01:20:56 2013 UTC

# Line 2493 | Line 2493 | public class ForkJoinPool extends Abstra
2493       *         java.lang.RuntimePermission}{@code ("modifyThread")}
2494       */
2495      public ForkJoinPool() {
2496 <        this(Runtime.getRuntime().availableProcessors(),
2496 >        this(Math.min(MAX_CAP, Runtime.getRuntime().availableProcessors()),
2497               defaultForkJoinWorkerThreadFactory, null, false);
2498      }
2499  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines