Searched refs:BaseMutex (Results 1 – 9 of 9) sorted by relevance
30 class BaseMutex; variable176 static void AddToExpectedMutexesOnWeakRefAccess(BaseMutex* mutex, bool need_lock = true);178 static void RemoveFromExpectedMutexesOnWeakRefAccess(BaseMutex* mutex, bool need_lock = true);180 static bool IsExpectedOnWeakRefAccess(BaseMutex* mutex);360 static std::vector<BaseMutex*> expected_mutexes_on_weak_ref_access_;361 static Atomic<const BaseMutex*> expected_mutexes_on_weak_ref_access_guard_;
39 Atomic<const BaseMutex*> all_mutexes_guard;41 std::set<BaseMutex*>* all_mutexes;85 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedAllMutexesLock()99 const BaseMutex* const mutex_;105 ScopedContentionRecorder(BaseMutex* mutex, uint64_t blocked_tid, uint64_t owner_tid) in ScopedContentionRecorder()126 BaseMutex* const mutex_;132 BaseMutex::BaseMutex(const char* name, LockLevel level) in BaseMutex() function in art::BaseMutex138 std::set<BaseMutex*>** all_mutexes_ptr = &gAllMutexData->all_mutexes; in BaseMutex()142 *all_mutexes_ptr = new std::set<BaseMutex*>(); in BaseMutex()148 BaseMutex::~BaseMutex() { in ~BaseMutex()[all …]
78 std::vector<BaseMutex*> Locks::expected_mutexes_on_weak_ref_access_;79 Atomic<const BaseMutex*> Locks::expected_mutexes_on_weak_ref_access_guard_;104 explicit ScopedExpectedMutexesOnWeakRefAccessLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedExpectedMutexesOnWeakRefAccessLock()120 const BaseMutex* const mutex_;356 void Locks::AddToExpectedMutexesOnWeakRefAccess(BaseMutex* mutex, bool need_lock) { in AddToExpectedMutexesOnWeakRefAccess()367 void Locks::RemoveFromExpectedMutexesOnWeakRefAccess(BaseMutex* mutex, bool need_lock) { in RemoveFromExpectedMutexesOnWeakRefAccess()371 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; in RemoveFromExpectedMutexesOnWeakRefAccess()377 std::vector<BaseMutex*>& list = expected_mutexes_on_weak_ref_access_; in RemoveFromExpectedMutexesOnWeakRefAccess()384 bool Locks::IsExpectedOnWeakRefAccess(BaseMutex* mutex) { in IsExpectedOnWeakRefAccess()386 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();162 class LOCKABLE Mutex : public BaseMutex {273 class SHARED_LOCKABLE ReaderWriterMutex : public BaseMutex {
89 inline void BaseMutex::RegisterAsLocked(Thread* self) { in RegisterAsLocked()127 BaseMutex* held_mutex = self->GetHeldMutex(lock_level_i); in RegisterAsLocked()155 inline void BaseMutex::RegisterAsUnlocked(Thread* self) { in RegisterAsUnlocked()
66 inline void Thread::CheckEmptyCheckpointFromWeakRefAccess(BaseMutex* cond_var_mutex) { in CheckEmptyCheckpointFromWeakRefAccess()75 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckEmptyCheckpointFromWeakRefAccess()154 BaseMutex* held_mutex = GetHeldMutex(static_cast<LockLevel>(i)); in AssertThreadSuspensionIsAllowable()
83 class BaseMutex; variable201 void CheckEmptyCheckpointFromWeakRefAccess(BaseMutex* cond_var_mutex);1074 BaseMutex* GetHeldMutex(LockLevel level) const { in GetHeldMutex()1078 void SetHeldMutex(LockLevel level, BaseMutex* mutex) { in SetHeldMutex()1747 BaseMutex* held_mutexes[kLockLevelCount]; in PACKED()
456 for (BaseMutex* mutex : Locks::expected_mutexes_on_weak_ref_access_) { in RunEmptyCheckpoint()
1193 BaseMutex::DumpAll(os); in DumpGcPerformanceInfo()