Home
last modified time | relevance | path

Searched refs:level_ (Results 1 – 3 of 3) sorted by relevance

/art/runtime/base/
Dmutex-inl.h110 CheckUnattachedThread(level_); in RegisterAsLocked()
116 for (int i = level_; i >= 0; --i) { in RegisterAsLocked()
122 << "(level " << level_ << " - " << static_cast<int>(level_) << ")"; in RegisterAsLocked()
133 if (level_ != kMonitorLock) { in RegisterAsLocked()
134 self->SetHeldMutex(level_, this); in RegisterAsLocked()
140 CheckUnattachedThread(level_); in RegisterAsUnlocked()
143 if (level_ != kMonitorLock) { in RegisterAsUnlocked()
145 CHECK(self->GetHeldMutex(level_) == this) << "Unlocking on unacquired mutex: " << name_; in RegisterAsUnlocked()
147 self->SetHeldMutex(level_, NULL); in RegisterAsUnlocked()
216 if (result && self != NULL && level_ != kMonitorLock && !gAborting) { in IsExclusiveHeld()
[all …]
Dmutex.cc101 BaseMutex::BaseMutex(const char* name, LockLevel level) : level_(level), name_(name) { in BaseMutex()
152 CheckUnattachedThread(level_); in CheckSafeToWait()
156 CHECK(self->GetHeldMutex(level_) == this || level_ == kMonitorLock) in CheckSafeToWait()
160 if (i != level_) { in CheckSafeToWait()
166 << "\"" << name_ << "\" (level " << level_ << ")"; in CheckSafeToWait()
448 << " level=" << static_cast<int>(level_) in Dump()
650 result = (self->GetHeldMutex(level_) == this); in IsSharedHeld()
657 << " level=" << static_cast<int>(level_) in Dump()
Dmutex.h154 const LockLevel level_; // Support for lock hierarchy. variable