Home
last modified time | relevance | path

Searched refs:parallelism (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DDualPivotQuicksort.java131 private static int getDepth(int parallelism, int size) { in getDepth() argument
134 while ((parallelism >>= 3) > 0 && (size >>= 2) > 0) { in getDepth()
155 static void sort(int[] a, int parallelism, int low, int high) { in sort() argument
158 if (parallelism > 1 && size > MIN_PARALLEL_SORT_SIZE) { in sort()
159 int depth = getDepth(parallelism, size >> 12); in sort()
909 static void sort(long[] a, int parallelism, int low, int high) {
912 if (parallelism > 1 && size > MIN_PARALLEL_SORT_SIZE) {
913 int depth = getDepth(parallelism, size >> 12);
2398 static void sort(float[] a, int parallelism, int low, int high) { in sort() argument
2424 if (parallelism > 1 && size > MIN_PARALLEL_SORT_SIZE) { in sort()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutors.java117 public static ExecutorService newWorkStealingPool(int parallelism) { in newWorkStealingPool() argument
119 (parallelism, in newWorkStealingPool()
DForkJoinPool.java2400 public ForkJoinPool(int parallelism) {
2401 this(parallelism, defaultForkJoinWorkerThreadFactory, null, false,
2432 public ForkJoinPool(int parallelism,
2436 this(parallelism, factory, handler, asyncMode,
2518 public ForkJoinPool(int parallelism,
2529 int p = parallelism;
2567 int parallelism = Math.max(1, Runtime.getRuntime().availableProcessors() - 1);
2578 parallelism = Integer.parseInt(pp);
2585 int p = Math.min(Math.max(parallelism, 0), MAX_CAP), size;
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DExecutors.java51 public static java.util.concurrent.ExecutorService newWorkStealingPool(int parallelism) { in newWorkStealingPool() argument