--- jsr166/src/jsr166y/CountedCompleter.java 2012/10/30 16:05:35 1.7 +++ jsr166/src/jsr166y/CountedCompleter.java 2012/11/18 18:03:10 1.13 @@ -77,7 +77,7 @@ package jsr166y; * continuations, other threads need not block waiting to perform * them. * - *
For example, here is an initial version of a class that uses + *
For example, here is an initial version of a class that uses * divide-by-two recursive decomposition to divide work into single * pieces (leaf tasks). Even when work is split into individual calls, * tree-based techniques are usually preferable to directly forking @@ -142,9 +142,7 @@ package jsr166y; * * As a further improvement, notice that the left task need not even * exist. Instead of creating a new one, we can iterate using the - * original task, and add a pending count for each fork. Additionally, - * this version uses {@code helpComplete} to streamline assistance in - * the execution of forked tasks. + * original task, and add a pending count for each fork. * *
{@code * class ForEach* @@ -414,39 +412,6 @@ public abstract class CountedCompleter... @@ -158,7 +156,7 @@ package jsr166y; * } * if (h > l) * op.apply(array[l]); - * helpComplete(); + * tryComplete(); * } * }