ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166y/ForkJoinPool.java
(Generate patch)

Comparing jsr166/src/jsr166y/ForkJoinPool.java (file contents):
Revision 1.141 by jsr166, Wed Nov 14 18:45:53 2012 UTC vs.
Revision 1.142 by jsr166, Wed Nov 14 19:05:03 2012 UTC

# Line 448 | Line 448 | public class ForkJoinPool extends Abstra
448       * perform some subtask processing (see externalHelpJoin and
449       * related methods).  We do not need to record whether these
450       * submissions are to the common pool -- if not, externalHelpJoin
451 <     * returns quicky (at the most helping to signal some common pool
451 >     * returns quickly (at the most helping to signal some common pool
452       * workers). These submitters would otherwise be blocked waiting
453       * for completion, so the extra effort (with liberally sprinkled
454       * task status checks) in inapplicable cases amounts to an odd
# Line 653 | Line 653 | public class ForkJoinPool extends Abstra
653  
654          /**
655           * Pushes a task. Call only by owner in unshared queues.
656 <         * Cases needing resizing or rejection are relyaed to fullPush
656 >         * Cases needing resizing or rejection are relayed to fullPush
657           * (that also handles shared queues).
658           *
659           * @param task the task. Caller must ensure non-null.
# Line 1631 | Line 1631 | public class ForkJoinPool extends Abstra
1631       * termination and possibly shrink pool.
1632       *
1633       * * If already enqueued and none of the above apply, possibly
1634 <     * (with 1/2 probablility) park awaiting signal, else lingering to
1634 >     * (with 1/2 probability) park awaiting signal, else lingering to
1635       * help scan and signal.
1636       *
1637       * @param w the worker (via its WorkQueue)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines