--- jsr166/src/jsr166y/RecursiveAction.java 2009/07/29 12:05:55 1.8 +++ jsr166/src/jsr166y/RecursiveAction.java 2009/08/04 22:47:08 1.12 @@ -7,11 +7,11 @@ package jsr166y; /** - * Recursive resultless ForkJoinTasks. This class establishes - * conventions to parameterize resultless actions as {@code Void} - * ForkJoinTasks. Because {@code null} is the only valid value of - * type {@code Void}, methods such as join always return {@code null} - * upon completion. + * A recursive resultless {@link ForkJoinTask}. This class + * establishes conventions to parameterize resultless actions as + * {@code Void} {@code ForkJoinTask}s. Because {@code null} is the + * only valid value of type {@code Void}, methods such as join always + * return {@code null} upon completion. * *
Sample Usages. Here is a sketch of a ForkJoin sort that * sorts a given {@code long[]} array: @@ -64,9 +64,10 @@ package jsr166y; * of each element of a double array, by subdividing out only the * right-hand-sides of repeated divisions by two, and keeping track of * them with a chain of {@code next} references. It uses a dynamic - * threshold based on method {@code surplus}, but counterbalances - * potential excess partitioning by directly performing leaf actions - * on unstolen tasks rather than further subdividing. + * threshold based on method {@code getSurplusQueuedTaskCount}, but + * counterbalances potential excess partitioning by directly + * performing leaf actions on unstolen tasks rather than further + * subdividing. * *
{@code * double sumOfSquares(ForkJoinPool pool, double[] array) { @@ -122,6 +123,7 @@ package jsr166y; * @author Doug Lea */ public abstract class RecursiveAction extends ForkJoinTask{ + private static final long serialVersionUID = 5232453952276485070L; /** * The main computation performed by this task.