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

Comparing jsr166/src/main/java/util/concurrent/ForkJoinPool.java (file contents):
Revision 1.324 by jsr166, Wed Aug 24 21:56:56 2016 UTC vs.
Revision 1.325 by jsr166, Sat Sep 10 04:06:51 2016 UTC

# Line 1379 | Line 1379 | public class ForkJoinPool extends Abstra
1379          }
1380          if (phase != QUIET) {                         // else pre-adjusted
1381              long c;                                   // decrement counts
1382 <            do {} while (!CTL.weakCompareAndSetVolatile
1382 >            do {} while (!CTL.weakCompareAndSet
1383                           (this, c = ctl, ((RC_MASK & (c - RC_UNIT)) |
1384                                            (TC_MASK & (c - TC_UNIT)) |
1385                                            (SP_MASK & c))));
# Line 1574 | Line 1574 | public class ForkJoinPool extends Abstra
1574                      do {
1575                          w.stackPred = (int)(c = ctl);
1576                          nc = ((c - RC_UNIT) & UC_MASK) | (SP_MASK & np);
1577 <                    } while (!CTL.weakCompareAndSetVolatile(this, c, nc));
1577 >                    } while (!CTL.weakCompareAndSet(this, c, nc));
1578                  }
1579                  else {                                  // already queued
1580                      int pred = w.stackPred;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines