Searched refs:controller1 (Results 1 – 4 of 4) sorted by relevance
104 final Monitors.LockController controller1 = new Monitors.LockController(lk); in testInteruptWait() local105 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 …]
118 final Monitors.LockController controller1 = new Monitors.LockController(lk); in testNativeLockStateThrowEnter() local123 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() local151 controller1.DoUnlock(); in testNativeLockStateThrowEntered()161 controller1.DoLock(); in testNativeLockStateThrowEntered()162 controller1.waitForLockToBeHeld(); in testNativeLockStateThrowEntered()176 Monitors.LockController controller1 = new Monitors.LockController(lk); in testRecursiveMontiorEnteredLock() local190 controller1.DoLock(); in testRecursiveMontiorEnteredLock()[all …]
32 final Monitors.LockController controller1 = new Monitors.LockController(lk); in testNormalWaitMonitor() local33 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() local51 controller1.DoLock(); in testNormalContendedMonitor()[all …]
91 Unlocking controller1 in MonitorEnter99 Unlocking controller1 in MonitorEnter