Searched refs:IsExclusiveHeld (Results 1 – 20 of 20) sorted by relevance
114 !Locks::mutator_lock_->IsExclusiveHeld(self)) { in RegisterAsLocked()132 Locks::mutator_lock_->IsExclusiveHeld(self)) { in RegisterAsLocked()226 inline bool Mutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld() function248 CHECK(IsExclusiveHeld(self)) << *this; in AssertExclusiveHeld()256 inline bool ReaderWriterMutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld() function285 CHECK(IsExclusiveHeld(self)) << *this; in AssertExclusiveHeld()
194 ALWAYS_INLINE bool IsExclusiveHeld(const Thread* self) const;203 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotHeldExclusive()349 ALWAYS_INLINE bool IsExclusiveHeld(const Thread* self) const;358 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotExclusiveHeld()383 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotHeld()
438 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveLock()567 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveTryLock()947 result = IsExclusiveHeld(self); // TODO: a better best effort here. in IsSharedHeld()
41 DCHECK(!Locks::mutator_lock_->IsExclusiveHeld(self)) << "Call VisitObjectsPaused() instead"; in VisitObjects()86 if (!zygote_creation_lock_.IsExclusiveHeld(self)) { in VisitObjectsInternalRegionSpace()
3235 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self)); in RevokeAllThreadLocalAllocationStacks()
39 Locks::mutator_lock_->IsExclusiveHeld(self)) in VisitTargets()
441 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in TryLock()638 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in Lock()757 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in Unlock()784 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in SignalWaiterAndReleaseMonitorLock()824 DCHECK(!monitor_lock_.IsExclusiveHeld(self)); in SignalWaiterAndReleaseMonitorLock()895 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in Wait()946 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in Wait()1025 DCHECK(!(monitor->monitor_lock_.IsExclusiveHeld(self))); in Deflate()1191 DCHECK(mon->monitor_lock_.IsExclusiveHeld(self)); in MonitorEnter()
555 if (Locks::mutator_lock_->IsExclusiveHeld(self) || Locks::mutator_lock_->IsSharedHeld(self)) { in Dump()568 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self) || Locks::mutator_lock_->IsSharedHeld(self)); in DumpThread()585 bool tll_already_held = Locks::thread_list_lock_->IsExclusiveHeld(self); in DumpAllThreads()586 bool tscl_already_held = Locks::thread_suspend_count_lock_->IsExclusiveHeld(self); in DumpAllThreads()594 bool ml_already_exlusively_held = Locks::mutator_lock_->IsExclusiveHeld(self); in DumpAllThreads()3065 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(Thread::Current())); in operator ()()
1409 if (!Locks::thread_list_lock_->IsExclusiveHeld(self)) { in UnsafeLogFatalForSuspendCount()1411 if (!Locks::thread_list_lock_->IsExclusiveHeld(self)) { in UnsafeLogFatalForSuspendCount()1894 if (Locks::thread_suspend_count_lock_->IsExclusiveHeld(self)) { in DumpState()2093 Locks::mutator_lock_->IsExclusiveHeld(Thread::Current())) { in PrintObject()
103 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in RunPhases()154 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self_)); in MarkingPhase()
185 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in Run()
224 CHECK(!Locks::mutator_lock_->IsExclusiveHeld(self)); in PreCleanCards()632 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in MarkRoots()
1955 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self)); in VerifyNoFromSpaceReferences()
95 if (UNLIKELY(uninitialized_class_definitions_lock_.IsExclusiveHeld(self))) { in Action()
198 Locks::mutator_lock_->IsExclusiveHeld(self)) { in ComputeMonitorDescription()
124 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in EnsureIdsArray()150 if (Locks::mutator_lock_->IsExclusiveHeld(self) || !Locks::mutator_lock_->IsSharedHeld(self)) { in EnsureIdsArray()
388 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in InspectAllRosAlloc()
248 if (lock_.IsExclusiveHeld(self)) { in Contains()
173 !Locks::mutator_lock_->IsExclusiveHeld(self)) { in CheckSetStatus()180 if (UNLIKELY(Locks::mutator_lock_->IsExclusiveHeld(self))) { in CheckSetStatus()
1743 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self)) in Verify()2108 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self)) in DumpStats()