# | Line 75 | Line 75 | public class ConcurrentQueueLoops { | |
---|---|---|
75 | ||
76 | static int compute(int l) { | |
77 | if (l == 0) | |
78 | < | return (int)System.nanoTime(); |
78 | > | return (int) System.nanoTime(); |
79 | int nn = (l >>> 7) & workMask; | |
80 | while (nn-- > 0) | |
81 | l = LoopHelpers.compute6(l); | |
# | Line 87 | Line 87 | public class ConcurrentQueueLoops { | |
87 | barrier.await(); | |
88 | long now = System.nanoTime(); | |
89 | long stopTime = now + RUN_TIME_NANOS; | |
90 | < | int l = (int)now; |
90 | > | int l = (int) now; |
91 | int takes = 0; | |
92 | int misses = 0; | |
93 | int lmask = 1; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |