Searched refs:BaseMutex (Results 1 – 11 of 11) sorted by relevance
30 class BaseMutex; variable183 static void AddToExpectedMutexesOnWeakRefAccess(BaseMutex* mutex, bool need_lock = true);185 static void RemoveFromExpectedMutexesOnWeakRefAccess(BaseMutex* mutex, bool need_lock = true);187 static bool IsExpectedOnWeakRefAccess(BaseMutex* mutex);374 static std::vector<BaseMutex*> expected_mutexes_on_weak_ref_access_;375 static Atomic<const BaseMutex*> expected_mutexes_on_weak_ref_access_guard_;
41 Atomic<const BaseMutex*> all_mutexes_guard;43 std::set<BaseMutex*>* all_mutexes;137 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedAllMutexesLock()151 const BaseMutex* const mutex_;157 ScopedContentionRecorder(BaseMutex* mutex, uint64_t blocked_tid, uint64_t owner_tid) in ScopedContentionRecorder()178 BaseMutex* const mutex_;184 BaseMutex::BaseMutex(const char* name, LockLevel level) in BaseMutex() function in art::BaseMutex190 std::set<BaseMutex*>** all_mutexes_ptr = &gAllMutexData->all_mutexes; in BaseMutex()194 *all_mutexes_ptr = new std::set<BaseMutex*>(); in BaseMutex()200 BaseMutex::~BaseMutex() { in ~BaseMutex()[all …]
80 std::vector<BaseMutex*> Locks::expected_mutexes_on_weak_ref_access_;81 Atomic<const BaseMutex*> Locks::expected_mutexes_on_weak_ref_access_guard_;106 explicit ScopedExpectedMutexesOnWeakRefAccessLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedExpectedMutexesOnWeakRefAccessLock()122 const BaseMutex* const mutex_;368 void Locks::AddToExpectedMutexesOnWeakRefAccess(BaseMutex* mutex, bool need_lock) { in AddToExpectedMutexesOnWeakRefAccess()379 void Locks::RemoveFromExpectedMutexesOnWeakRefAccess(BaseMutex* mutex, bool need_lock) { in RemoveFromExpectedMutexesOnWeakRefAccess()383 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; in RemoveFromExpectedMutexesOnWeakRefAccess()389 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; in RemoveFromExpectedMutexesOnWeakRefAccess()396 bool Locks::IsExpectedOnWeakRefAccess(BaseMutex* mutex) { in IsExpectedOnWeakRefAccess()398 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; in IsExpectedOnWeakRefAccess()
76 class BaseMutex {103 BaseMutex(const char* name, LockLevel level);104 virtual ~BaseMutex();172 class LOCKABLE Mutex : public BaseMutex {299 class SHARED_LOCKABLE ReaderWriterMutex : public BaseMutex {
91 inline void BaseMutex::RegisterAsLocked(Thread* self) { in RegisterAsLocked()129 BaseMutex* held_mutex = self->GetHeldMutex(lock_level_i); in RegisterAsLocked()157 inline void BaseMutex::RegisterAsUnlocked(Thread* self) { in RegisterAsUnlocked()
67 inline void Thread::CheckEmptyCheckpointFromWeakRefAccess(BaseMutex* cond_var_mutex) { in CheckEmptyCheckpointFromWeakRefAccess()76 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckEmptyCheckpointFromWeakRefAccess()156 BaseMutex* held_mutex = GetHeldMutex(static_cast<LockLevel>(i)); in AssertThreadSuspensionIsAllowable()
84 class BaseMutex; variable202 void CheckEmptyCheckpointFromWeakRefAccess(BaseMutex* cond_var_mutex);1110 BaseMutex* GetHeldMutex(LockLevel level) const { in GetHeldMutex()1114 void SetHeldMutex(LockLevel level, BaseMutex* mutex) { in SetHeldMutex()1820 BaseMutex* held_mutexes[kLockLevelCount]; in PACKED()
457 for (BaseMutex* mutex : Locks::expected_mutexes_on_weak_ref_access_) { in RunEmptyCheckpoint()
1949 BaseMutex* mutex = thread->GetHeldMutex(static_cast<LockLevel>(i)); in DumpState()4198 for (BaseMutex* mu : tlsPtr_.held_mutexes) { in NumberOfHeldMutexes()
2023 BaseMutex::DumpAll(os); in DumpForSigQuit()
1208 BaseMutex::DumpAll(os); in DumpGcPerformanceInfo()