Searched refs:availableProcessors (Results 1 – 11 of 11) sorted by relevance
623 public int availableProcessors() { in availableProcessors() method in Runtime
99 (Runtime.getRuntime().availableProcessors(), in newWorkStealingPool()
248 private static final int NCPU = Runtime.getRuntime().availableProcessors();
983 private static final int NCPU = Runtime.getRuntime().availableProcessors();
383 Runtime.getRuntime().availableProcessors() > 1;
155 static final int NCPUS = Runtime.getRuntime().availableProcessors();
2366 this(Math.min(MAX_CAP, Runtime.getRuntime().availableProcessors()), in ForkJoinPool()3277 (parallelism = Runtime.getRuntime().availableProcessors() - 1) < 0) in makeCommonPool()
405 static final int NCPU = Runtime.getRuntime().availableProcessors();
87 assertTrue(Runtime.getRuntime().availableProcessors() > 0); in test_availableProcessors()
27 Math.max(2, Runtime.getRuntime().availableProcessors());
30 Math.max(2, Runtime.getRuntime().availableProcessors());