# | Line 58 | Line 58 | public class LongAdder extends Striped64 | |
---|---|---|
58 | Cell[] as; long b, v; int[] hc; Cell a; int n; | |
59 | if ((as = cells) != null || !casBase(b = base, b + x)) { | |
60 | boolean uncontended = true; | |
61 | < | if ((hc = threadHashCode.get()) == null || |
61 | > | if ((hc = threadHashCode.get()) == null || |
62 | as == null || (n = as.length) < 1 || | |
63 | (a = as[(n - 1) & hc[0]]) == null || | |
64 | !(uncontended = a.cas(v = a.value, v + x))) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |