Home
last modified time | relevance | path

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

/art/runtime/base/
Dmutex-inl.h83 CheckUnattachedThread(level_); in RegisterAsLocked()
89 for (int i = level_; i >= 0; --i) { in RegisterAsLocked()
95 << "(level " << level_ << " - " << static_cast<int>(level_) << ")"; in RegisterAsLocked()
108 if (level_ != kMonitorLock) { in RegisterAsLocked()
109 self->SetHeldMutex(level_, this); in RegisterAsLocked()
115 CheckUnattachedThread(level_); in RegisterAsUnlocked()
118 if (level_ != kMonitorLock) { in RegisterAsUnlocked()
120 CHECK(self->GetHeldMutex(level_) == this) << "Unlocking on unacquired mutex: " << name_; in RegisterAsUnlocked()
122 self->SetHeldMutex(level_, nullptr); in RegisterAsUnlocked()
183 if (result && self != nullptr && level_ != kMonitorLock && !gAborting) { in IsExclusiveHeld()
[all …]
Dmutex.cc143 BaseMutex::BaseMutex(const char* name, LockLevel level) : level_(level), name_(name) { in BaseMutex()
194 CheckUnattachedThread(level_); in CheckSafeToWait()
198 CHECK(self->GetHeldMutex(level_) == this || level_ == kMonitorLock) in CheckSafeToWait()
202 if (i != level_) { in CheckSafeToWait()
208 << "\"" << name_ << "\" (level " << level_ << ")"; in CheckSafeToWait()
450 LOG(FATAL) << GetName() << " level=" << level_ << " self=" << name1 in ExclusiveUnlock()
502 << " level=" << static_cast<int>(level_) in Dump()
718 result = (self->GetHeldMutex(level_) == this); in IsSharedHeld()
725 << " level=" << static_cast<int>(level_) in Dump()
Dmutex.h160 const LockLevel level_; // Support for lock hierarchy. variable