Home
last modified time | relevance | path

Searched refs:IsExclusiveHeld (Results 1 – 20 of 20) sorted by relevance

/art/runtime/base/
Dmutex-inl.h114 !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() function
248 CHECK(IsExclusiveHeld(self)) << *this; in AssertExclusiveHeld()
256 inline bool ReaderWriterMutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld() function
285 CHECK(IsExclusiveHeld(self)) << *this; in AssertExclusiveHeld()
Dmutex.h194 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()
Dmutex.cc438 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()
/art/runtime/gc/
Dheap-visit-objects-inl.h41 DCHECK(!Locks::mutator_lock_->IsExclusiveHeld(self)) << "Call VisitObjectsPaused() instead"; in VisitObjects()
86 if (!zygote_creation_lock_.IsExclusiveHeld(self)) { in VisitObjectsInternalRegionSpace()
Dheap.cc3235 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self)); in RevokeAllThreadLocalAllocationStacks()
/art/runtime/
Dreflective_handle_scope-inl.h39 Locks::mutator_lock_->IsExclusiveHeld(self)) in VisitTargets()
Dmonitor.cc441 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()
Druntime.cc555 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 ()()
Dthread.cc1409 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()
/art/runtime/gc/collector/
Dsemi_space.cc103 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in RunPhases()
154 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self_)); in MarkingPhase()
Dgarbage_collector.cc185 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in Run()
Dmark_sweep.cc224 CHECK(!Locks::mutator_lock_->IsExclusiveHeld(self)); in PreCleanCards()
632 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in MarkRoots()
Dconcurrent_copying.cc1955 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self)); in VerifyNoFromSpaceReferences()
/art/openjdkjvmti/
Dtransform.cc95 if (UNLIKELY(uninitialized_class_definitions_lock_.IsExclusiveHeld(self))) { in Action()
/art/runtime/jni/
Djni_env_ext.cc198 Locks::mutator_lock_->IsExclusiveHeld(self)) { in ComputeMonitorDescription()
Djni_id_manager.cc124 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in EnsureIdsArray()
150 if (Locks::mutator_lock_->IsExclusiveHeld(self) || !Locks::mutator_lock_->IsSharedHeld(self)) { in EnsureIdsArray()
/art/runtime/gc/space/
Drosalloc_space.cc388 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in InspectAllRosAlloc()
Dlarge_object_space.cc248 if (lock_.IsExclusiveHeld(self)) { in Contains()
/art/runtime/mirror/
Dclass.cc173 !Locks::mutator_lock_->IsExclusiveHeld(self)) { in CheckSetStatus()
180 if (UNLIKELY(Locks::mutator_lock_->IsExclusiveHeld(self))) { in CheckSetStatus()
/art/runtime/gc/allocator/
Drosalloc.cc1743 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self)) in Verify()
2108 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self)) in DumpStats()