# | Line 86 | Line 86 | public final class SimpleReentrantLockLo | |
---|---|---|
86 | if (k > 0) { | |
87 | x = v; | |
88 | while (k-- > 0) | |
89 | < | x = LoopHelpers.compute4(x); |
89 | > | x = LoopHelpers.compute6(x); |
90 | v = x; | |
91 | } | |
92 | else x = sum + 1; | |
# | Line 94 | Line 94 | public final class SimpleReentrantLockLo | |
94 | if ((x += readBarrier) == 0) | |
95 | ++readBarrier; | |
96 | for (int l = x & 7; l > 0; --l) | |
97 | < | sum += LoopHelpers.compute4(sum); |
97 | > | sum += LoopHelpers.compute6(sum); |
98 | } | |
99 | barrier.await(); | |
100 | result += sum; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |