Searched refs:IsExclusiveHeld (Results 1 – 18 of 18) sorted by relevance
112 !Locks::mutator_lock_->IsExclusiveHeld(self)) { in RegisterAsLocked()130 Locks::mutator_lock_->IsExclusiveHeld(self)) { in RegisterAsLocked()227 inline bool Mutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld() function249 CHECK(IsExclusiveHeld(self)) << *this; in AssertExclusiveHeld()257 inline bool ReaderWriterMutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld() function286 CHECK(IsExclusiveHeld(self)) << *this; in AssertExclusiveHeld()
182 ALWAYS_INLINE bool IsExclusiveHeld(const Thread* self) const;191 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotHeldExclusive()307 ALWAYS_INLINE bool IsExclusiveHeld(const Thread* self) const;316 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotExclusiveHeld()
365 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveLock()417 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveTryLock()751 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()
3323 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self)); in RevokeAllThreadLocalAllocationStacks()
92 if (UNLIKELY(uninitialized_class_definitions_lock_.IsExclusiveHeld(self))) { in Action()
198 Locks::mutator_lock_->IsExclusiveHeld(self)) { in ComputeMonitorDescription()
173 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in Run()
123 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in RunPhases()178 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self_)); in MarkingPhase()
224 CHECK(!Locks::mutator_lock_->IsExclusiveHeld(self)); in PreCleanCards()632 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in MarkRoots()
1894 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self)); in VerifyNoFromSpaceReferences()
526 if (Locks::mutator_lock_->IsExclusiveHeld(self) || Locks::mutator_lock_->IsSharedHeld(self)) { in Dump()539 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self) || Locks::mutator_lock_->IsSharedHeld(self)); in DumpThread()556 bool tll_already_held = Locks::thread_list_lock_->IsExclusiveHeld(self); in DumpAllThreads()557 bool tscl_already_held = Locks::thread_suspend_count_lock_->IsExclusiveHeld(self); in DumpAllThreads()565 bool ml_already_exlusively_held = Locks::mutator_lock_->IsExclusiveHeld(self); in DumpAllThreads()2743 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(Thread::Current())); in operator ()()
1387 if (!Locks::thread_list_lock_->IsExclusiveHeld(self)) { in UnsafeLogFatalForSuspendCount()1389 if (!Locks::thread_list_lock_->IsExclusiveHeld(self)) { in UnsafeLogFatalForSuspendCount()1872 if (Locks::thread_suspend_count_lock_->IsExclusiveHeld(self)) { in DumpState()2070 Locks::mutator_lock_->IsExclusiveHeld(Thread::Current())) { in PrintObject()
704 DCHECK(!monitor_lock_.IsExclusiveHeld(self)); in Unlock()
388 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in InspectAllRosAlloc()
243 if (lock_.IsExclusiveHeld(self)) { in Contains()
1357 bool safe_to_release_mutator_lock_over_send = !Locks::mutator_lock_->IsExclusiveHeld(self); in DdmSendChunkV()
1743 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self)) in Verify()2106 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self)) in DumpStats()