# | Line 784 | Line 784 | public class ForkJoinPool extends Abstra | |
---|---|---|
784 | long nc = (long)(v & E_MASK) | ((c - AC_UNIT) & (AC_MASK|TC_MASK)); | |
785 | if (ctl != c || !UNSAFE.compareAndSwapLong(this, ctlOffset, c, nc)) { | |
786 | long d = ctl; // return true if lost to a deq, to force scan | |
787 | < | return (int)d != (int)c && ((d - c) & AC_MASK) >= 0L; |
787 | > | return (int)d != (int)c && (d & AC_MASK) >= (c & AC_MASK); |
788 | } | |
789 | for (int sc = w.stealCount; sc != 0;) { // accumulate stealCount | |
790 | long s = stealCount; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |