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.java97 final Semaphore sem = new Semaphore(0); in testStopWait() local
99 sem.release(); in testStopWait()
110 sem.acquire(); in testStopWait()
124 final Semaphore sem = new Semaphore(0); in testInterruptWait() local
126 sem.release(); in testInterruptWait()
137 sem.acquire(); in testInterruptWait()
156 final Semaphore sem = new Semaphore(0); in testStopInNative() local
158 sem.release(); in testStopInNative()
165 sem.acquire(); in testStopInNative()
198 final Semaphore sem = new Semaphore(0); in testStopRecur() local
[all …]
/art/test/1941-dispose-stress/src/art/
DTest1941.java45 public static void LoopAllocFreeEnv(Semaphore sem) { in LoopAllocFreeEnv() argument
46 sem.release(); in LoopAllocFreeEnv()
60 final Semaphore sem = new Semaphore(0); in run() local
61 Thread thr = new Thread(() -> { LoopAllocFreeEnv(sem); }, "LoopNative"); in run()
64 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()