ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/CountedCompleter.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/CountedCompleter.java (file contents):
Revision 1.59 by jsr166, Mon Aug 29 19:42:54 2016 UTC vs.
Revision 1.60 by jsr166, Mon Aug 29 20:08:08 2016 UTC

# Line 156 | Line 156 | import java.lang.invoke.VarHandle;
156   *   }}</pre>
157   *
158   * As a further optimization, notice that the left task need not even exist.
159 < * Instead of creating a new one, we can iterate using the original task,
159 > * Instead of creating a new one, we can continue using the original task,
160   * and add a pending count for each fork.  Additionally, because no task
161   * in this tree implements an {@link #onCompletion(CountedCompleter)} method,
162   * {@code tryComplete} can be replaced with {@link #propagateCompletion}.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines