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

Comparing jsr166/src/main/java/util/concurrent/ForkJoinTask.java (file contents):
Revision 1.149 by dl, Sun Jan 31 13:35:43 2021 UTC vs.
Revision 1.150 by dl, Wed Feb 3 12:41:58 2021 UTC

# Line 247 | Line 247 | public abstract class ForkJoinTask<V> im
247          return (int)STATUS.getAndBitwiseOr(this, v);
248      }
249      private boolean casStatus(int c, int v) {
250 <        return STATUS.weakCompareAndSet(this, c, v);
250 >        return STATUS.compareAndSet(this, c, v);
251      }
252      private boolean casAux(Aux c, Aux v) {
253          return AUX.compareAndSet(this, c, v);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines