Home
last modified time | relevance | path

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

/art/test/1931-monitor-events/src/art/
DTest1931.java104 final Monitors.LockController controller1 = new Monitors.LockController(lk); in testInteruptWait() local
105 controller1.DoLock(); in testInteruptWait()
106 controller1.waitForLockToBeHeld(); in testInteruptWait()
107 controller1.DoWait(); in testInteruptWait()
108 controller1.waitForNotifySleep(); in testInteruptWait()
110 controller1.interruptWorker(); in testInteruptWait()
111 controller1.waitForLockToBeHeld(); in testInteruptWait()
112 controller1.DoUnlock(); in testInteruptWait()
117 controller1.DoCleanup(); in testInteruptWait()
121 Monitors.LockController controller1 = new Monitors.LockController(lk, /*timed_wait time*/-100); in testIllegalWait() local
[all …]
/art/test/1932-monitor-events-misc/src/art/
DTest1932.java118 final Monitors.LockController controller1 = new Monitors.LockController(lk); in testNativeLockStateThrowEnter() local
123 controller1.DoUnlock(); in testNativeLockStateThrowEnter()
131 controller1.DoLock(); in testNativeLockStateThrowEnter()
132 controller1.waitForLockToBeHeld(); in testNativeLockStateThrowEnter()
146 final Monitors.LockController controller1 = new Monitors.LockController(lk); in testNativeLockStateThrowEntered() local
151 controller1.DoUnlock(); in testNativeLockStateThrowEntered()
161 controller1.DoLock(); in testNativeLockStateThrowEntered()
162 controller1.waitForLockToBeHeld(); in testNativeLockStateThrowEntered()
176 Monitors.LockController controller1 = new Monitors.LockController(lk); in testRecursiveMontiorEnteredLock() local
190 controller1.DoLock(); in testRecursiveMontiorEnteredLock()
[all …]
/art/test/1933-monitor-current-contended/src/art/
DTest1933.java32 final Monitors.LockController controller1 = new Monitors.LockController(lk); in testNormalWaitMonitor() local
33 controller1.DoLock(); in testNormalWaitMonitor()
34 controller1.waitForLockToBeHeld(); in testNormalWaitMonitor()
35 controller1.DoWait(); in testNormalWaitMonitor()
36 controller1.waitForNotifySleep(); in testNormalWaitMonitor()
39 Object mon = controller1.getWorkerContendedMonitor(); in testNormalWaitMonitor()
40 for (; mon == null; mon = controller1.getWorkerContendedMonitor()) { Thread.yield(); } in testNormalWaitMonitor()
45 controller1.DoUnlock(); in testNormalWaitMonitor()
49 final Monitors.LockController controller1 = new Monitors.LockController(lk); in testNormalContendedMonitor() local
51 controller1.DoLock(); in testNormalContendedMonitor()
[all …]
/art/test/1932-monitor-events-misc/
Dexpected.txt91 Unlocking controller1 in MonitorEnter
99 Unlocking controller1 in MonitorEnter