Searched refs:BaseMutex (Results 1 – 9 of 9) sorted by relevance
75 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 …]
142 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_;
83 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()
84 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()
79 class BaseMutex; variable179 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()
434 for (BaseMutex* mutex : Locks::expected_mutexes_on_weak_ref_access_) { in RunEmptyCheckpoint()
1648 BaseMutex* mutex = thread->GetHeldMutex(static_cast<LockLevel>(i)); in DumpState()3560 for (BaseMutex* mu : tlsPtr_.held_mutexes) { in NumberOfHeldMutexes()
1603 BaseMutex::DumpAll(os); in DumpForSigQuit()
1144 BaseMutex::DumpAll(os); in DumpGcPerformanceInfo()