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

Comparing jsr166/src/jsr166y/RecursiveAction.java (file contents):
Revision 1.10 by jsr166, Sat Aug 1 21:17:11 2009 UTC vs.
Revision 1.11 by dl, Tue Aug 4 14:42:02 2009 UTC

# Line 64 | Line 64 | package jsr166y;
64   * of each element of a double array, by subdividing out only the
65   * right-hand-sides of repeated divisions by two, and keeping track of
66   * them with a chain of {@code next} references. It uses a dynamic
67 < * threshold based on method {@code surplus}, but counterbalances
68 < * potential excess partitioning by directly performing leaf actions
69 < * on unstolen tasks rather than further subdividing.
67 > * threshold based on method {@code getEstimatedSurplusTaskCount}, but
68 > * counterbalances potential excess partitioning by directly
69 > * performing leaf actions on unstolen tasks rather than further
70 > * subdividing.
71   *
72   *  <pre> {@code
73   * double sumOfSquares(ForkJoinPool pool, double[] array) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines