Home
last modified time | relevance | path

Searched refs:delay (Results 1 – 5 of 5) sorted by relevance

/art/test/053-wait-some/src/
DMain.java45 for (long delay : DELAYS) { in doit()
46 System.out.println("Waiting for " + delay + "ms..."); in doit()
50 sleepy.wait(delay); in doit()
60 long epsilon = delay / 10; in doit()
65 long min = delay - epsilon; in doit()
66 long max = delay + epsilon; in doit()
/art/test/1941-dispose-stress/src/art/
DTest1941.java46 public static void LoopAllocFreeEnv(Semaphore sem, Semaphore delay) { in LoopAllocFreeEnv() argument
49 delay.acquire(); in LoopAllocFreeEnv()
68 final Semaphore delay = new Semaphore(0); in run() local
69 Thread thr = new Thread(() -> { LoopAllocFreeEnv(sem, delay); }, "LoopNative"); in run()
81 delay.release(); in run()
/art/test/1995-final-virtual-structural-multithread/src/art/
DTest1995.java109 public MyThread(CountDownLatch delay, int id) { in MyThread() argument
114 this.delay = delay; in MyThread()
118 delay.countDown(); in run()
143 public CountDownLatch delay; field in Test1995.MyThread
/art/test/2001-virtual-structural-multithread/src-art/art/
DTest2001.java169 public MyThread(CountDownLatch delay, int id) { in MyThread() argument
174 this.delay = delay; in MyThread()
178 delay.countDown(); in run()
205 public CountDownLatch delay; field in Test2001.MyThread
/art/test/2005-pause-all-redefine-multithreaded/src/art/
DTest2005.java108 public MyThread(CountDownLatch delay, int id) { in MyThread() argument
113 this.delay = delay; in MyThread()
117 delay.countDown(); in run()
144 public CountDownLatch delay; field in Test2005.MyThread