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.397 by dl, Fri Feb 12 13:20:16 2021 UTC vs.
Revision 1.398 by dl, Thu Feb 18 12:38:51 2021 UTC

# Line 864 | Line 864 | public class ForkJoinPool extends Abstra
864          }
865          static final boolean casSlotToNull(ForkJoinTask<?>[] a, int i,
866                                            ForkJoinTask<?> c) {
867 <            return QA.weakCompareAndSet(a, i, c, null);
867 >            return QA.compareAndSet(a, i, c, null);
868          }
869          final boolean tryLock() {
870              return SOURCE.compareAndSet(this, 0, 1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines