Searched refs:IsExclusiveHeld (Results 1 – 23 of 23) sorted by relevance
119 !Locks::mutator_lock_->IsExclusiveHeld(self)) { in RegisterAsLockedImpl()137 Locks::mutator_lock_->IsExclusiveHeld(self)) { in RegisterAsLockedImpl()236 inline bool Mutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld() function258 CHECK(IsExclusiveHeld(self)) << *this; in AssertExclusiveHeld()266 inline bool ReaderWriterMutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld() function295 CHECK(IsExclusiveHeld(self)) << *this; in AssertExclusiveHeld()
197 ALWAYS_INLINE bool IsExclusiveHeld(const Thread* self) const;206 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotHeldExclusive()352 ALWAYS_INLINE bool IsExclusiveHeld(const Thread* self) const;361 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotExclusiveHeld()386 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotHeld()
439 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveLock()578 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveTryLock()959 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()
3369 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self)); in RevokeAllThreadLocalAllocationStacks()
39 Locks::mutator_lock_->IsExclusiveHeld(self)) in VisitTargets()
90 bool run_checkpoints = !Locks::mutator_lock_->IsExclusiveHeld(self); in DeleteStartupDexCaches()
441 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in TryLock()639 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in Lock()758 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in Unlock()785 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in SignalWaiterAndReleaseMonitorLock()825 DCHECK(!monitor_lock_.IsExclusiveHeld(self)); in SignalWaiterAndReleaseMonitorLock()898 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in Wait()949 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in Wait()1028 DCHECK(!(monitor->monitor_lock_.IsExclusiveHeld(self))); in Deflate()1194 DCHECK(mon->monitor_lock_.IsExclusiveHeld(self)); in MonitorEnter()
577 if (Locks::mutator_lock_->IsExclusiveHeld(self) || Locks::mutator_lock_->IsSharedHeld(self)) { in Dump()590 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self) || Locks::mutator_lock_->IsSharedHeld(self)); in DumpThread()607 bool tll_already_held = Locks::thread_list_lock_->IsExclusiveHeld(self); in DumpAllThreads()608 bool tscl_already_held = Locks::thread_suspend_count_lock_->IsExclusiveHeld(self); in DumpAllThreads()616 bool ml_already_exlusively_held = Locks::mutator_lock_->IsExclusiveHeld(self); in DumpAllThreads()3265 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(Thread::Current())); in operator ()()
406 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in RemoveGeneratedCodeRange()
357 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(Thread::Current())); in VisitRoots()
1464 if (!Locks::thread_list_lock_->IsExclusiveHeld(self)) { in UnsafeLogFatalForSuspendCount()1466 if (!Locks::thread_list_lock_->IsExclusiveHeld(self)) { in UnsafeLogFatalForSuspendCount()2039 if (Locks::thread_suspend_count_lock_->IsExclusiveHeld(self)) { in DumpState()2247 Locks::mutator_lock_->IsExclusiveHeld(Thread::Current())) { in PrintObject()
103 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in RunPhases()155 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self_)); in MarkingPhase()
192 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in Run()
222 CHECK(!Locks::mutator_lock_->IsExclusiveHeld(self)); in PreCleanCards()632 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in MarkRoots()
3925 CHECK(!Locks::mutator_lock_->IsExclusiveHeld(thread_running_gc_)); in PreCleanCards()
1995 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self)); in VerifyNoFromSpaceReferences()
197 Locks::mutator_lock_->IsExclusiveHeld(self)) { in ComputeMonitorDescription()
135 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in EnsureIdsArray()162 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()
172 !Locks::mutator_lock_->IsExclusiveHeld(self)) { in CheckSetStatus()179 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()