Searched refs:parallelism (Results 1 - 3 of 3) sorted by relevance
/openjdk7/jdk/src/share/sample/forkjoin/mergesort/ |
H A D | MergeDemo.java | 50 * The {@code ForkJoin} framework is setup with different parallelism levels 105 * {@code parallelism} represents the different parallelism levels 109 private final Range parallelism; field in class:MergeDemo.Configuration 114 private Configuration(Range sizes, Range parallelism) { argument 116 this.parallelism = parallelism; 121 * parameters for creating the array sizes and parallelism sizes 140 " and parallelism: 1, 2, 3, 4"); 147 * @return an array containing {@code sizes.iterations * parallelism 207 printResults(Range sizes, Range parallelism, long[][] times) argument 230 runForSize(Range parallelism, int elements, long[][] times, int size) argument 244 runForParallelism(int iterations, int elements, int parallelism) argument [all...] |
H A D | MergeSort.java | 48 * A {@code ForkJoinPool} is used for the parallelism, using the merge sort 122 * Creates a {@code MergeSort} containing a ForkJoinPool with the indicated parallelism level 123 * @param parallelism the parallelism level used 125 public MergeSort(int parallelism) { argument 126 pool = new ForkJoinPool(parallelism);
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | ForkJoinPool.java | 74 * parallelism level; by default, equal to the number of available 185 * To enable packing, we restrict maximum parallelism to (1<<15)-1 200 * start-up, the array is presized to hold twice #parallelism 255 * fewer than the given parallelism level -- see signalWork). 300 * It is impossible to keep exactly the target parallelism number 498 * AC: Number of active running workers minus target parallelism (16 bits) 499 * TC: Number of total workers minus target parallelism (16bits) 508 * parallelism and the positionings of fields makes it possible to 553 * The target parallelism level. 555 final int parallelism; field in class:ForkJoinPool 1432 ForkJoinPool(int parallelism) argument 1460 ForkJoinPool(int parallelism, ForkJoinWorkerThreadFactory factory, Thread.UncaughtExceptionHandler handler, boolean asyncMode) argument [all...] |
Completed in 5702 milliseconds