# | Line 2466 | Line 2466 | public class ForkJoinPool extends Abstra | |
---|---|---|
2466 | * java.lang.RuntimePermission}{@code ("modifyThread")} | |
2467 | */ | |
2468 | public ForkJoinPool() { | |
2469 | < | this(Runtime.getRuntime().availableProcessors(), |
2469 | > | this(Math.min(MAX_CAP, Runtime.getRuntime().availableProcessors()), |
2470 | defaultForkJoinWorkerThreadFactory, null, false); | |
2471 | } | |
2472 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |