Home
last modified time | relevance | path

Searched refs:LockLevel (Results 1 – 8 of 8) sorted by relevance

/art/runtime/base/
Dmutex.h55 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);
Dmutex-inl.h84 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()
Dmutex.cc101 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/
Dswap_space.cc69 lock_("SwapSpace lock", static_cast<LockLevel>(LockLevel::kDefaultMutexLevel - 1)) { in SwapSpace()
/art/runtime/
Dthread-inl.h67 BaseMutex* held_mutex = GetHeldMutex(static_cast<LockLevel>(i)); in AssertThreadSuspensionIsAllowable()
Dthread.h755 BaseMutex* GetHeldMutex(LockLevel level) const { in GetHeldMutex()
759 void SetHeldMutex(LockLevel level, BaseMutex* mutex) { in SetHeldMutex()
Dthread.cc853 BaseMutex* mutex = thread->GetHeldMutex(static_cast<LockLevel>(i)); in DumpState()
/art/runtime/jdwp/
Djdwp_event.cc1367 if (self->GetHeldMutex(static_cast<LockLevel>(i)) != NULL) { in DdmSendChunkV()