Searched refs:LockLevel (Results 1 – 8 of 8) sorted by relevance
/art/runtime/base/ |
D | mutex.h | 55 enum LockLevel { enum 109 std::ostream& operator<<(std::ostream& os, const LockLevel& rhs); 143 BaseMutex(const char* name, LockLevel level); 154 const LockLevel level_; // Support for lock hierarchy. 202 explicit Mutex(const char* name, LockLevel level = kDefaultMutexLevel, bool recursive = false); 286 explicit ReaderWriterMutex(const char* name, LockLevel level = kDefaultMutexLevel);
|
D | mutex-inl.h | 84 static inline void CheckUnattachedThread(LockLevel level) NO_THREAD_SAFETY_ANALYSIS { in CheckUnattachedThread() 117 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in RegisterAsLocked() 120 << "(level " << LockLevel(i) << " - " << i in RegisterAsLocked()
|
D | mutex.cc | 101 BaseMutex::BaseMutex(const char* name, LockLevel level) : level_(level), name_(name) { in BaseMutex() 161 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckSafeToWait() 165 << "(level " << LockLevel(i) << ") while performing wait on " in CheckSafeToWait() 268 Mutex::Mutex(const char* name, LockLevel level, bool recursive) in Mutex() 459 ReaderWriterMutex::ReaderWriterMutex(const char* name, LockLevel level) in ReaderWriterMutex() 873 LockLevel current_lock_level = kThreadListSuspendThreadLock; in Init()
|
/art/compiler/utils/ |
D | swap_space.cc | 69 lock_("SwapSpace lock", static_cast<LockLevel>(LockLevel::kDefaultMutexLevel - 1)) { in SwapSpace()
|
/art/runtime/ |
D | thread-inl.h | 67 BaseMutex* held_mutex = GetHeldMutex(static_cast<LockLevel>(i)); in AssertThreadSuspensionIsAllowable()
|
D | thread.h | 755 BaseMutex* GetHeldMutex(LockLevel level) const { in GetHeldMutex() 759 void SetHeldMutex(LockLevel level, BaseMutex* mutex) { in SetHeldMutex()
|
D | thread.cc | 853 BaseMutex* mutex = thread->GetHeldMutex(static_cast<LockLevel>(i)); in DumpState()
|
/art/runtime/jdwp/ |
D | jdwp_event.cc | 1367 if (self->GetHeldMutex(static_cast<LockLevel>(i)) != NULL) { in DdmSendChunkV()
|