Home
last modified time | relevance | path

Searched refs:getCommonPoolParallelism (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DArrays.java468 (p = ForkJoinPool.getCommonPoolParallelism()) == 1) in parallelSort()
508 (p = ForkJoinPool.getCommonPoolParallelism()) == 1) in parallelSort()
538 (p = ForkJoinPool.getCommonPoolParallelism()) == 1) in parallelSort()
578 (p = ForkJoinPool.getCommonPoolParallelism()) == 1) in parallelSort()
608 (p = ForkJoinPool.getCommonPoolParallelism()) == 1) in parallelSort()
648 (p = ForkJoinPool.getCommonPoolParallelism()) == 1) in parallelSort()
678 (p = ForkJoinPool.getCommonPoolParallelism()) == 1) in parallelSort()
718 (p = ForkJoinPool.getCommonPoolParallelism()) == 1) in parallelSort()
748 (p = ForkJoinPool.getCommonPoolParallelism()) == 1) in parallelSort()
788 (p = ForkJoinPool.getCommonPoolParallelism()) == 1) in parallelSort()
[all …]
DArrayPrefixHelpers.java121 (p = (hi - lo) / (ForkJoinPool.getCommonPoolParallelism() << 3)) in CumulateTask()
273 (p = (hi - lo) / (ForkJoinPool.getCommonPoolParallelism() << 3)) in LongCumulateTask()
423 (p = (hi - lo) / (ForkJoinPool.getCommonPoolParallelism() << 3)) in DoubleCumulateTask()
573 (p = (hi - lo) / (ForkJoinPool.getCommonPoolParallelism() << 3)) in IntCumulateTask()
/libcore/ojluni/src/main/java/java/util/stream/
DAbstractTask.java97 static final int LEAF_TARGET = ForkJoinPool.getCommonPoolParallelism() << 2;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArraysTest.java4588 if (ForkJoinPool.getCommonPoolParallelism() > 1) { in test_parallelSort$B()
4645 if (ForkJoinPool.getCommonPoolParallelism() > 1) { in test_parallelSort$BII()
4688 if (ForkJoinPool.getCommonPoolParallelism() > 1) { in test_parallelSort$C()
4746 if (ForkJoinPool.getCommonPoolParallelism() > 1) { in test_parallelSort$CII()
4789 if (ForkJoinPool.getCommonPoolParallelism() > 1) { in test_parallelSort$S()
4847 if (ForkJoinPool.getCommonPoolParallelism() > 1) { in test_parallelSort$SII()
4890 if (ForkJoinPool.getCommonPoolParallelism() > 1) { in test_parallelSort$I()
4948 if (ForkJoinPool.getCommonPoolParallelism() > 1) { in test_parallelSort$III()
4990 if (ForkJoinPool.getCommonPoolParallelism() > 1) { in test_parallelSort$J()
5048 if (ForkJoinPool.getCommonPoolParallelism() > 1) { in test_parallelSort$JII()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DForkJoinPool8Test.java39 assertEquals(ForkJoinPool.getCommonPoolParallelism(), in testCommonPoolParallelism()
DCompletableFutureTest.java565 = ForkJoinPool.getCommonPoolParallelism() > 1;
3365 if (ForkJoinPool.getCommonPoolParallelism() > 1) in testDefaultExecutor()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinPool.java2892 public static int getCommonPoolParallelism() { in getCommonPoolParallelism() method in ForkJoinPool
DCompletableFuture.java398 (ForkJoinPool.getCommonPoolParallelism() > 1);
DConcurrentHashMap.java3702 int sp = ForkJoinPool.getCommonPoolParallelism() << 2; // slack of 4 in batchFor()