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

Comparing jsr166/src/jsr166y/ForkJoinPool.java (file contents):
Revision 1.128 by dl, Mon Apr 9 13:11:44 2012 UTC vs.
Revision 1.129 by dl, Tue May 22 23:08:19 2012 UTC

# Line 1535 | Line 1535 | public class ForkJoinPool extends Abstra
1535                      t = (ForkJoinTask<?>)U.getObjectVolatile(a, i);
1536                      if (q.base == b && ec >= 0 && t != null &&
1537                          U.compareAndSwapObject(a, i, t, null)) {
1538 <                        q.base = b + 1;       // specialization of pollAt
1538 >                        if (q.top - (q.base = b + 1) > 1)
1539 >                            signalWork();    // help pushes signal
1540                          return t;
1541                      }
1542                      else if (ec < 0 || j <= m) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines