# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |