Home
last modified time | relevance | path

Searched refs:sem (Results 1 – 4 of 4) sorted by relevance

/art/test/1934-jvmti-signal-thread/src/art/
DTest1934.java119 final Semaphore sem = new Semaphore(0); in testStopWait() local
121 sem.release(); in testStopWait()
132 sem.acquire(); in testStopWait()
146 final Semaphore sem = new Semaphore(0); in testInterruptWait() local
148 sem.release(); in testInterruptWait()
159 sem.acquire(); in testInterruptWait()
178 final Semaphore sem = new Semaphore(0); in testStopInNative() local
180 sem.release(); in testStopInNative()
187 sem.acquire(); in testStopInNative()
220 final Semaphore sem = new Semaphore(0); in testStopRecur() local
[all …]
/art/test/1941-dispose-stress/src/art/
DTest1941.java46 public static void LoopAllocFreeEnv(Semaphore sem, Semaphore delay) { in LoopAllocFreeEnv() argument
47 sem.release(); in LoopAllocFreeEnv()
67 final Semaphore sem = new Semaphore(0); in run() local
69 Thread thr = new Thread(() -> { LoopAllocFreeEnv(sem, delay); }, "LoopNative"); in run()
72 sem.acquire(); in run()
/art/test/1930-monitor-info/src/art/
DTest1930.java59 final Semaphore sem = new Semaphore(0); in testLockWait() local
61 sem.release(); in testLockWait()
69 sem.acquire(); in testLockWait()
93 final Semaphore sem = new Semaphore(0); in testNotifyWait() local
97 sem.release(); in testNotifyWait()
107 sem.acquire(); in testNotifyWait()
/art/test/1900-track-alloc/src/art/
DTest1900.java82 final Semaphore sem = new Semaphore(0); in run() local
89 sem.release(); in run()
94 sem.acquire(); in run()