Searched refs:IsLocked (Results 1 – 11 of 11) sorted by relevance
145 public boolean IsLocked() { in IsLocked() method in Monitors.LockController181 if (IsLocked()) { in DoLock()243 if (IsLocked() && Objects.equals(runner, Monitors.getObjectMonitorUsage(lock).owner)) { in waitForLockToBeHeld()271 if (!IsLocked()) { in DoNotify()278 if (!IsLocked()) { in DoNotifyAll()285 if (!IsLocked()) { in DoTimedWait()292 if (!IsLocked()) { in DoWait()299 if (!IsLocked()) { in interruptWorker()312 if (!IsLocked()) { in DoUnlock()
157 if (controller2.IsLocked()) { in testLock()
207 while (controller2.IsLocked()) {} in testWaitedMonitorEnter()337 while (controller1.IsLocked()) {} in testMonitorInfoInEvents()483 if (controller1.IsLocked()) { in testLockUncontend()500 if (controller1.IsLocked()) { in testLockUncontend()
141 bool IsLocked() REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!monitor_lock_);
1566 bool Monitor::IsLocked() REQUIRES_SHARED(Locks::mutator_lock_) { in IsLocked() function in art::Monitor
2390 static bool IsLocked(JNIEnv* env, jobject jobj) { in IsLocked() function2400 return lock_word.FatLockMonitor()->IsLocked(); in IsLocked()2426 ASSERT_TRUE(IsLocked(env_, global_ref)); in TEST_F()2435 ASSERT_FALSE(IsLocked(env_, global_ref)); in TEST_F()