Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/nio/ch/
DThreadPool.java115 initialSize = Runtime.getRuntime().availableProcessors(); in createDefault()
142 initialSize = Runtime.getRuntime().availableProcessors(); in wrap()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DRuntime.java96 public int availableProcessors() { in availableProcessors() method in Runtime
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DStriped64.java151 static final int NCPU = Runtime.getRuntime().availableProcessors();
/libcore/ojluni/src/main/java/java/lang/
DRuntime.java714 public int availableProcessors() { in availableProcessors() method in Runtime
/libcore/ojluni/src/main/java/java/util/concurrent/
DExchanger.java275 private static final int NCPU = Runtime.getRuntime().availableProcessors();
DExecutors.java134 (Runtime.getRuntime().availableProcessors(), in newWorkStealingPool()
DPhaser.java1007 private static final int NCPU = Runtime.getRuntime().availableProcessors();
DSynchronousQueue.java197 (Runtime.getRuntime().availableProcessors() < 2) ? 0 : 32;
DLinkedTransferQueue.java415 Runtime.getRuntime().availableProcessors() > 1;
DForkJoinPool.java2620 this(Math.min(MAX_CAP, Runtime.getRuntime().availableProcessors()), in ForkJoinPool()
3541 (parallelism = Runtime.getRuntime().availableProcessors() - 1) <= 0) in makeCommonPool()
DCompletableFuture.java431 static final int SPINS = (Runtime.getRuntime().availableProcessors() > 1 ?
DConcurrentHashMap.java597 static final int NCPU = Runtime.getRuntime().availableProcessors();
/libcore/luni/src/test/java/libcore/java/lang/
DOldRuntimeTest.java96 assertTrue(Runtime.getRuntime().availableProcessors() > 0); in test_availableProcessors()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java268 private static final int NCPU = Runtime.getRuntime().availableProcessors();
/libcore/jsr166-tests/src/test/java/jsr166/
DForkJoinTask8Test.java53 Math.max(2, Runtime.getRuntime().availableProcessors());
DForkJoinTaskTest.java41 Math.max(2, Runtime.getRuntime().availableProcessors());
DCountedCompleterTest.java39 Math.max(2, Runtime.getRuntime().availableProcessors());
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleCombinersTest.java1677 final int threadCount = Runtime.getRuntime().availableProcessors() + 1; in invokeMultiThreaded()