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.7 by jsr166, Mon Jul 27 03:33:28 2009 UTC vs.
Revision 1.9 by dl, Fri Jul 31 16:25:40 2009 UTC

# Line 98 | Line 98 | package jsr166y;
98   *     int l = lo;
99   *     int h = hi;
100   *     Applyer right = null;
101 < *     while (h - l > 1 &&
102 < *        ForkJoinWorkerThread.getEstimatedSurplusTaskCount() <= 3) {
101 > *     while (h - l > 1 && getSurplusQueuedTaskCount() <= 3) {
102   *        int mid = (l + h) >>> 1;
103   *        right = new Applyer(array, mid, h, seqSize, right);
104   *        right.fork();
# Line 123 | Line 122 | package jsr166y;
122   * @author Doug Lea
123   */
124   public abstract class RecursiveAction extends ForkJoinTask<Void> {
125 +    private static final long serialVersionUID = 5232453952276485070L;
126  
127      /**
128       * The main computation performed by this task.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines