Searched refs:ForkJoinPool (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/share/sample/forkjoin/mergesort/
H A DMergeSort.java42 import java.util.concurrent.ForkJoinPool;
48 * A {@code ForkJoinPool} is used for the parallelism, using the merge sort
50 * for each part. Each sub task is dispatched to the {@code ForkJoinPool}
63 private final ForkJoinPool pool;
122 * Creates a {@code MergeSort} containing a ForkJoinPool with the indicated parallelism level
126 pool = new ForkJoinPool(parallelism);
/openjdk7/jdk/test/java/util/concurrent/forkjoin/
H A DNQueensCS.java43 import java.util.concurrent.ForkJoinPool;
83 ForkJoinPool g = (procs == 0) ?
84 new ForkJoinPool() :
85 new ForkJoinPool(procs);
94 static void test(ForkJoinPool g, int i) throws Exception {
H A DIntegrate.java43 import java.util.concurrent.ForkJoinPool;
105 ForkJoinPool g = new ForkJoinPool(procs);
133 static double computeArea(ForkJoinPool pool, double l, double r) {
174 static double computeArea(ForkJoinPool pool, double l, double r) {
221 static double computeArea(ForkJoinPool pool, double l, double r) {
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DForkJoinPool.java59 * A {@code ForkJoinPool} provides the entry point for submissions
63 * <p>A {@code ForkJoinPool} differs from other kinds of {@link
70 * constructors, {@code ForkJoinPool}s may also be appropriate for use
73 * <p>A {@code ForkJoinPool} is constructed with a given target
124 * <p><b>Sample Usage.</b> Normally a single {@code ForkJoinPool} is
130 * ForkJoinPool} uses threads in {@linkplain java.lang.Thread#isDaemon
135 * static final ForkJoinPool mainPool = new ForkJoinPool();
154 public class ForkJoinPool extends AbstractExecutorService { class in inherits:AbstractExecutorService
331 * among classes ForkJoinPool, ForkJoinWorkerThrea
1413 public ForkJoinPool() { method in class:ForkJoinPool
1432 public ForkJoinPool(int parallelism) { method in class:ForkJoinPool
1460 public ForkJoinPool(int parallelism, method in class:ForkJoinPool
[all...]
H A DForkJoinWorkerThread.java42 * A thread managed by a {@link ForkJoinPool}, which executes
49 * custom {@link ForkJoinPool.ForkJoinWorkerThreadFactory} to use it
50 * in a {@code ForkJoinPool}.
63 * ForkJoinPool. And as described further below, this class also
108 * by the ForkJoinPool). This allows use in message-passing
203 final ForkJoinPool pool;
244 * waits. Accessed by ForkJoinPool to manage event waiters.
272 * Shadows value from ForkJoinPool.
296 protected ForkJoinWorkerThread(ForkJoinPool pool) {
316 public ForkJoinPool getPoo
[all...]
H A DPhaser.java100 * also be used by tasks executing in a {@link ForkJoinPool},
1056 ForkJoinPool.managedBlock(node);
1078 static final class QNode implements ForkJoinPool.ManagedBlocker {
H A DForkJoinTask.java60 * Abstract base class for tasks that run within a {@link ForkJoinPool}.
64 * ForkJoinPool, at the price of some usage limitations.
67 * to a {@link ForkJoinPool}. Once started, it will usually in turn
194 * See the internal documentation of class ForkJoinPool for a
197 * to methods in ForkJoinWorkerThread and ForkJoinPool. The
416 * any ForkJoinPool will call helpExpungeStaleExceptions when its
575 * Called from ForkJoinPool when pools become quiescent.
614 * ForkJoinPool} computations (as may be determined using method
674 * ForkJoinPool} computations (as may be determined using method
702 * ForkJoinPool} computation
[all...]
/openjdk7/jdk/make/java/java/
H A DFILES_java.gmk307 java/util/concurrent/ForkJoinPool.java \

Completed in 62 milliseconds