Home
last modified time | relevance | path

Searched refs:availableProcessors (Results 1 – 16 of 16) 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.java709 public int availableProcessors() { in availableProcessors() method in Runtime
/libcore/ojluni/src/main/java/java/util/concurrent/
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;
/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/ojluni/src/test/java/util/concurrent/tck/
DForkJoinTask8Test.java76 Math.max(2, Runtime.getRuntime().availableProcessors());
DForkJoinTaskTest.java63 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()