Searched refs:parallelism (Results 1 – 2 of 2) sorted by relevance
2606 public ForkJoinPool(int parallelism) { in ForkJoinPool() argument2607 this(parallelism, defaultForkJoinWorkerThreadFactory, null, false); in ForkJoinPool()2634 public ForkJoinPool(int parallelism, in ForkJoinPool() argument2638 this(checkParallelism(parallelism), in ForkJoinPool()2646 private static int checkParallelism(int parallelism) { in checkParallelism() argument2647 if (parallelism <= 0 || parallelism > MAX_CAP) in checkParallelism()2649 return parallelism; in checkParallelism()2664 private ForkJoinPool(int parallelism, in ForkJoinPool() argument2672 this.config = (parallelism & SMASK) | mode; in ForkJoinPool()2673 long np = (long)(-parallelism); // offset ctl counts in ForkJoinPool()[all …]
86 public static ExecutorService newWorkStealingPool(int parallelism) { in newWorkStealingPool() argument88 (parallelism, in newWorkStealingPool()