# | Line 61 | Line 61 | public class ConcurrentQueueLoops { | |
---|---|---|
61 | i = k; | |
62 | } | |
63 | pool.shutdown(); | |
64 | < | } |
64 | > | } |
65 | ||
66 | static final class Stage implements Callable<Integer> { | |
67 | final Queue<Integer> queue; | |
# | Line 76 | Line 76 | public class ConcurrentQueueLoops { | |
76 | static int compute(int l) { | |
77 | if (l == 0) | |
78 | return (int) System.nanoTime(); | |
79 | < | int nn = (l >>> 7) & workMask; |
79 | > | int nn = (l >>> 7) & workMask; |
80 | while (nn-- > 0) | |
81 | l = LoopHelpers.compute6(l); | |
82 | return l; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |