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()
207 while (controller2.IsLocked()) {} in testWaitedMonitorEnter()350 while (controller1.IsLocked()) {} in testMonitorInfoInEvents()498 if (controller1.IsLocked()) { in testLockUncontend()515 if (controller1.IsLocked()) { in testLockUncontend()
175 if (controller2.IsLocked()) { in testLock()
147 bool IsLocked() REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!monitor_lock_);
1569 bool Monitor::IsLocked() REQUIRES_SHARED(Locks::mutator_lock_) { in IsLocked() function in art::Monitor
2526 static bool IsLocked(JNIEnv* env, jobject jobj) { in IsLocked() function2536 return lock_word.FatLockMonitor()->IsLocked(); in IsLocked()2562 ASSERT_TRUE(IsLocked(env_, global_ref)); in TEST_F()2571 ASSERT_FALSE(IsLocked(env_, global_ref)); in TEST_F()