--- jsr166/src/jsr166e/ForkJoinPool.java 2012/11/14 18:45:53 1.13 +++ jsr166/src/jsr166e/ForkJoinPool.java 2012/11/19 01:04:24 1.17 @@ -63,7 +63,7 @@ import java.util.concurrent.TimeUnit; * {@link #toString} returns indications of pool state in a * convenient form for informal monitoring. * - *

As is the case with other ExecutorServices, there are three + *

As is the case with other ExecutorServices, there are three * main task execution methods summarized in the following table. * These are designed to be used primarily by clients not already * engaged in fork/join computations in the current pool. The main @@ -105,6 +105,7 @@ import java.util.concurrent.TimeUnit; * an integer greater than zero, {@code threadFactory} -- the class * name of a {@link ForkJoinWorkerThreadFactory}, and {@code * exceptionHandler} -- the class name of a {@link + * java.lang.Thread.UncaughtExceptionHandler * Thread.UncaughtExceptionHandler}. Upon any error in establishing * these settings, default parameters are used. * @@ -449,7 +450,7 @@ public class ForkJoinPool extends Abstra * perform some subtask processing (see externalHelpJoin and * related methods). We do not need to record whether these * submissions are to the common pool -- if not, externalHelpJoin - * returns quicky (at the most helping to signal some common pool + * returns quickly (at the most helping to signal some common pool * workers). These submitters would otherwise be blocked waiting * for completion, so the extra effort (with liberally sprinkled * task status checks) in inapplicable cases amounts to an odd @@ -654,7 +655,7 @@ public class ForkJoinPool extends Abstra /** * Pushes a task. Call only by owner in unshared queues. - * Cases needing resizing or rejection are relyaed to fullPush + * Cases needing resizing or rejection are relayed to fullPush * (that also handles shared queues). * * @param task the task. Caller must ensure non-null. @@ -1632,7 +1633,7 @@ public class ForkJoinPool extends Abstra * termination and possibly shrink pool. * * * If already enqueued and none of the above apply, possibly - * (with 1/2 probablility) park awaiting signal, else lingering to + * (with 1/2 probability) park awaiting signal, else lingering to * help scan and signal. * * @param w the worker (via its WorkQueue) @@ -1850,7 +1851,7 @@ public class ForkJoinPool extends Abstra /** * Analog of tryHelpStealer for CountedCompleters. Tries to steal - * and run tasks within the target's computation + * and run tasks within the target's computation. * * @param task the task to join * @param mode if shared, exit upon completing any task