Home
last modified time | relevance | path

Searched refs:availableProcessors (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/main/java/java/lang/
DRuntime.java628 public int availableProcessors() { in availableProcessors() method in Runtime
/libcore/luni/src/main/java/java/util/concurrent/
DExecutors.java100 (Runtime.getRuntime().availableProcessors(), in newWorkStealingPool()
DExchanger.java245 private static final int NCPU = Runtime.getRuntime().availableProcessors();
DPhaser.java981 private static final int NCPU = Runtime.getRuntime().availableProcessors();
DLinkedTransferQueue.java382 Runtime.getRuntime().availableProcessors() > 1;
DSynchronousQueue.java156 static final int NCPUS = Runtime.getRuntime().availableProcessors();
DForkJoinPool.java2359 this(Math.min(MAX_CAP, Runtime.getRuntime().availableProcessors()), in ForkJoinPool()
3270 (parallelism = Runtime.getRuntime().availableProcessors() - 1) < 0) in makeCommonPool()
DConcurrentHashMap.java437 static final int NCPU = Runtime.getRuntime().availableProcessors();
/libcore/luni/src/test/java/libcore/java/lang/
DOldRuntimeTest.java87 assertTrue(Runtime.getRuntime().availableProcessors() > 0); in test_availableProcessors()
/libcore/jsr166-tests/src/test/java/jsr166/
DForkJoinTaskTest.java38 Math.max(2, Runtime.getRuntime().availableProcessors());
DCountedCompleterTest.java39 Math.max(2, Runtime.getRuntime().availableProcessors());