# | Line 2524 | Line 2524 | public class ForkJoinPool extends Abstra | |
---|---|---|
2524 | * overridden by system properties | |
2525 | */ | |
2526 | private ForkJoinPool(byte forCommonPoolOnly) { | |
2527 | < | int parallelism = Runtime.getRuntime().availableProcessors() - 1; |
2527 | > | int parallelism = Math.max(1, Runtime.getRuntime().availableProcessors() - 1); |
2528 | ForkJoinWorkerThreadFactory fac = null; | |
2529 | UncaughtExceptionHandler handler = null; | |
2530 | try { // ignore exceptions in accessing/parsing properties |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |