Home
last modified time | relevance | path

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

/art/runtime/base/
Dmutex-inl.h119 !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() function
258 CHECK(IsExclusiveHeld(self)) << *this; in AssertExclusiveHeld()
266 inline bool ReaderWriterMutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld() function
295 CHECK(IsExclusiveHeld(self)) << *this; in AssertExclusiveHeld()
Dmutex.h197 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()
Dmutex.cc439 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()
/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.cc3369 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self)); in RevokeAllThreadLocalAllocationStacks()
/art/runtime/
Dreflective_handle_scope-inl.h39 Locks::mutator_lock_->IsExclusiveHeld(self)) in VisitTargets()
Dstartup_completed_task.cc90 bool run_checkpoints = !Locks::mutator_lock_->IsExclusiveHeld(self); in DeleteStartupDexCaches()
Dmonitor.cc441 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()
Druntime.cc577 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 ()()
Dfault_handler.cc406 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in RemoveGeneratedCodeRange()
Dtransaction.cc357 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(Thread::Current())); in VisitRoots()
Dthread.cc1464 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()
/art/runtime/gc/collector/
Dsemi_space.cc103 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in RunPhases()
155 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self_)); in MarkingPhase()
Dgarbage_collector.cc192 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in Run()
Dmark_sweep.cc222 CHECK(!Locks::mutator_lock_->IsExclusiveHeld(self)); in PreCleanCards()
632 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in MarkRoots()
Dmark_compact.cc3925 CHECK(!Locks::mutator_lock_->IsExclusiveHeld(thread_running_gc_)); in PreCleanCards()
Dconcurrent_copying.cc1995 DCHECK(Locks::mutator_lock_->IsExclusiveHeld(self)); in VerifyNoFromSpaceReferences()
/art/runtime/jni/
Djni_env_ext.cc197 Locks::mutator_lock_->IsExclusiveHeld(self)) { in ComputeMonitorDescription()
Djni_id_manager.cc135 if (Locks::mutator_lock_->IsExclusiveHeld(self)) { in EnsureIdsArray()
162 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.cc172 !Locks::mutator_lock_->IsExclusiveHeld(self)) { in CheckSetStatus()
179 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()