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()
333 ALWAYS_INLINE bool IsExclusiveHeld(const Thread* self) const;
342 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotExclusiveHeld()
367 CHECK(!IsExclusiveHeld(self)) << *this; in AssertNotHeld()
Dmutex.cc424 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveLock()
489 if (!recursive_ || !IsExclusiveHeld(self)) { in ExclusiveTryLock()
869 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.cc3205 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self)); in RevokeAllThreadLocalAllocationStacks()
/art/runtime/
Dreflective_handle_scope-inl.h39 Locks::mutator_lock_->IsExclusiveHeld(self)) in VisitTargets()
Dmonitor.cc437 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in TryLock()
634 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in Lock()
753 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in Unlock()
780 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in SignalWaiterAndReleaseMonitorLock()
820 DCHECK(!monitor_lock_.IsExclusiveHeld(self)); in SignalWaiterAndReleaseMonitorLock()
891 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in Wait()
942 DCHECK(monitor_lock_.IsExclusiveHeld(self)); in Wait()
1021 DCHECK(!(monitor->monitor_lock_.IsExclusiveHeld(self))); in Deflate()
1203 DCHECK(mon->monitor_lock_.IsExclusiveHeld(self)); in MonitorEnter()
Druntime.cc540 if (Locks::mutator_lock_->IsExclusiveHeld(self) || Locks::mutator_lock_->IsSharedHeld(self)) { in Dump()
553 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self) || Locks::mutator_lock_->IsSharedHeld(self)); in DumpThread()
570 bool tll_already_held = Locks::thread_list_lock_->IsExclusiveHeld(self); in DumpAllThreads()
571 bool tscl_already_held = Locks::thread_suspend_count_lock_->IsExclusiveHeld(self); in DumpAllThreads()
579 bool ml_already_exlusively_held = Locks::mutator_lock_->IsExclusiveHeld(self); in DumpAllThreads()
2834 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(Thread::Current())); in operator ()()
Dthread.cc1399 if (!Locks::thread_list_lock_->IsExclusiveHeld(self)) { in UnsafeLogFatalForSuspendCount()
1401 if (!Locks::thread_list_lock_->IsExclusiveHeld(self)) { in UnsafeLogFatalForSuspendCount()
1884 if (Locks::thread_suspend_count_lock_->IsExclusiveHeld(self)) { in DumpState()
2083 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.cc173 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.cc1905 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self)); in VerifyNoFromSpaceReferences()
/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/openjdkjvmti/
Dtransform.cc96 if (UNLIKELY(uninitialized_class_definitions_lock_.IsExclusiveHeld(self))) { in Action()
/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.cc204 !Locks::mutator_lock_->IsExclusiveHeld(self)) { in CheckSetStatus()
211 if (UNLIKELY(Locks::mutator_lock_->IsExclusiveHeld(self))) { in CheckSetStatus()
/art/runtime/gc/allocator/
Drosalloc.cc1743 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self)) in Verify()
2106 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self)) in DumpStats()