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

Comparing jsr166/src/jdk8/java/util/concurrent/ForkJoinPool.java (file contents):
Revision 1.5 by jsr166, Thu Sep 15 16:28:43 2016 UTC vs.
Revision 1.6 by jsr166, Fri Sep 16 17:20:07 2016 UTC

# Line 2326 | Line 2326 | public class ForkJoinPool extends Abstra
2326          n |= n >>> 1; n |= n >>> 2; n |= n >>> 4; n |= n >>> 8; n |= n >>> 16;
2327          n = (n + 1) << 1; // power of two, including space for submission queues
2328  
2329        this.workQueues = new WorkQueue[n];
2329          this.workerNamePrefix = "ForkJoinPool-" + nextPoolId() + "-worker-";
2330 +        this.workQueues = new WorkQueue[n];
2331          this.factory = factory;
2332          this.ueh = handler;
2333          this.saturate = saturate;
# Line 2386 | Line 2386 | public class ForkJoinPool extends Abstra
2386          n |= n >>> 1; n |= n >>> 2; n |= n >>> 4; n |= n >>> 8; n |= n >>> 16;
2387          n = (n + 1) << 1;
2388  
2389        this.workQueues = new WorkQueue[n];
2389          this.workerNamePrefix = "ForkJoinPool.commonPool-worker-";
2390 +        this.workQueues = new WorkQueue[n];
2391          this.factory = fac;
2392          this.ueh = handler;
2393          this.saturate = null;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines