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.400 by jsr166, Sun Feb 21 22:32:56 2021 UTC vs.
Revision 1.401 by dl, Thu Apr 1 19:10:29 2021 UTC

# Line 2543 | Line 2543 | public class ForkJoinPool extends Abstra
2543          this.saturate = null;
2544          this.workerNamePrefix = null;
2545          int p = Math.min(Math.max(parallelism, 0), MAX_CAP), size;
2546 +        this.mode = p;
2547          if (p > 0) {
2548              size = 1 << (33 - Integer.numberOfLeadingZeros(p - 1));
2549              this.bounds = ((1 - p) & SMASK) | (COMMON_MAX_SPARES << SWIDTH);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines