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.378 by jsr166, Wed Aug 12 00:06:58 2020 UTC vs.
Revision 1.379 by jsr166, Wed Aug 12 15:59:58 2020 UTC

# Line 1001 | Line 1001 | public class ForkJoinPool extends Abstra
1001           * Pops the given task for owner only if it is at the current top.
1002           */
1003          final boolean tryUnpush(ForkJoinTask<?> task) {
1004 <            int s = top, cap, k; ForkJoinTask<?>[] a;
1004 >            int s = top, cap; ForkJoinTask<?>[] a;
1005              if ((a = array) != null && (cap = a.length) > 0 && base != s-- &&
1006                  casSlotToNull(a, (cap - 1) & s, task)) {
1007                  top = s;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines