# | Line 49 | Line 49 | public final class UncheckedLockLoops { | |
---|---|---|
49 | oneTest(i, iters / i); | |
50 | Thread.sleep(100); | |
51 | } | |
52 | – | |
52 | } | |
53 | ||
54 | static void oneTest(int nthreads, int iters) throws Exception { | |
# | Line 118 | Line 117 | public final class UncheckedLockLoops { | |
117 | System.out.print("FairRReadWriteLock "); | |
118 | new FairReentrantReadWriteLockLoop().test(v, nthreads, fairIters); | |
119 | Thread.sleep(10); | |
121 | – | |
120 | } | |
121 | ||
122 | abstract static class LockLoop implements Runnable { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |