Home
last modified time | relevance | path

Searched refs:BaseMutex (Results 1 – 9 of 9) sorted by relevance

/art/runtime/base/
Dmutex.cc75 std::vector<BaseMutex*> Locks::expected_mutexes_on_weak_ref_access_;
76 Atomic<const BaseMutex*> Locks::expected_mutexes_on_weak_ref_access_guard_;
80 Atomic<const BaseMutex*> all_mutexes_guard;
82 std::set<BaseMutex*>* all_mutexes;
105 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedAllMutexesLock()
118 const BaseMutex* const mutex_;
123 explicit ScopedExpectedMutexesOnWeakRefAccessLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedExpectedMutexesOnWeakRefAccessLock()
138 const BaseMutex* const mutex_;
144 ScopedContentionRecorder(BaseMutex* mutex, uint64_t blocked_tid, uint64_t owner_tid) in ScopedContentionRecorder()
165 BaseMutex* const mutex_;
[all …]
Dmutex.h142 class BaseMutex {
169 BaseMutex(const char* name, LockLevel level);
170 virtual ~BaseMutex();
227 class LOCKABLE Mutex : public BaseMutex {
318 class SHARED_LOCKABLE ReaderWriterMutex : public BaseMutex {
588 static void AddToExpectedMutexesOnWeakRefAccess(BaseMutex* mutex, bool need_lock = true);
590 static void RemoveFromExpectedMutexesOnWeakRefAccess(BaseMutex* mutex, bool need_lock = true);
592 static bool IsExpectedOnWeakRefAccess(BaseMutex* mutex);
743 static std::vector<BaseMutex*> expected_mutexes_on_weak_ref_access_;
744 static Atomic<const BaseMutex*> expected_mutexes_on_weak_ref_access_guard_;
Dmutex-inl.h83 inline void BaseMutex::RegisterAsLocked(Thread* self) { in RegisterAsLocked()
93 BaseMutex* held_mutex = self->GetHeldMutex(lock_level_i); in RegisterAsLocked()
116 inline void BaseMutex::RegisterAsUnlocked(Thread* self) { in RegisterAsUnlocked()
/art/runtime/
Dthread-inl.h84 inline void Thread::CheckEmptyCheckpointFromWeakRefAccess(BaseMutex* cond_var_mutex) { in CheckEmptyCheckpointFromWeakRefAccess()
93 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckEmptyCheckpointFromWeakRefAccess()
161 BaseMutex* held_mutex = GetHeldMutex(static_cast<LockLevel>(i)); in AssertThreadSuspensionIsAllowable()
Dthread.h79 class BaseMutex; variable
179 void CheckEmptyCheckpointFromWeakRefAccess(BaseMutex* cond_var_mutex);
1008 BaseMutex* GetHeldMutex(LockLevel level) const { in GetHeldMutex()
1012 void SetHeldMutex(LockLevel level, BaseMutex* mutex) { in SetHeldMutex()
1619 BaseMutex* held_mutexes[kLockLevelCount]; in PACKED()
Dthread_list.cc434 for (BaseMutex* mutex : Locks::expected_mutexes_on_weak_ref_access_) { in RunEmptyCheckpoint()
Dthread.cc1648 BaseMutex* mutex = thread->GetHeldMutex(static_cast<LockLevel>(i)); in DumpState()
3560 for (BaseMutex* mu : tlsPtr_.held_mutexes) { in NumberOfHeldMutexes()
Druntime.cc1603 BaseMutex::DumpAll(os); in DumpForSigQuit()
/art/runtime/gc/
Dheap.cc1144 BaseMutex::DumpAll(os); in DumpGcPerformanceInfo()