Searched refs:runAll (Results 1 – 1 of 1) sorted by relevance
/art/test/2029-contended-monitors/src/ |
D | Main.java | 166 private void runAll(Runnable work, Runnable init, Runnable checker) { in runAll() method in Main 207 runAll(new RepeatedIncrementer(), () -> { atomicCounter.set(0); }, new CheckAtomicCounter()); in run() 211 runAll(new RepeatedLockHolder(true, i), () -> { counter = 0; }, in run() 217 runAll(new RepeatedIntermittentLockHolder(true, i), () -> { counter = 0; }, in run() 225 runAll(new RepeatedLockHolder(false, i), () -> { counter = 0; }, () -> {}); in run() 229 runAll(new SleepyLockHolder(true), () -> { counter = 0; }, new CheckCounter(TOTAL_ITERS)); in run() 231 runAll(new SleepyLockHolder(false), () -> { counter = 0; }, () -> {}); in run()
|