Home
last modified time | relevance | path

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

/art/runtime/
Dthread-inl.h108 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckEmptyCheckpointFromWeakRefAccess() local
109 if (held_mutex != nullptr && in CheckEmptyCheckpointFromWeakRefAccess()
110 held_mutex != GetMutatorLock() && in CheckEmptyCheckpointFromWeakRefAccess()
111 held_mutex != cond_var_mutex) { in CheckEmptyCheckpointFromWeakRefAccess()
112 CHECK(Locks::IsExpectedOnWeakRefAccess(held_mutex)) in CheckEmptyCheckpointFromWeakRefAccess()
113 << "Holding unexpected mutex " << held_mutex->GetName() in CheckEmptyCheckpointFromWeakRefAccess()
195 BaseMutex* held_mutex = GetHeldMutex(static_cast<LockLevel>(i)); in AssertThreadSuspensionIsAllowable() local
196 if (held_mutex != nullptr) { in AssertThreadSuspensionIsAllowable()
197 LOG(ERROR) << "holding \"" << held_mutex->GetName() in AssertThreadSuspensionIsAllowable()
/art/runtime/base/
Dmutex-inl.h134 BaseMutex* held_mutex = self->GetHeldMutex(lock_level_i); in RegisterAsLockedImpl() local
140 } else if (UNLIKELY(held_mutex != nullptr) && lock_level_i != kAbortLock) { in RegisterAsLockedImpl()
141 LOG(ERROR) << "Lock level violation: holding \"" << held_mutex->name_ << "\" " in RegisterAsLockedImpl()
Dmutex.cc260 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckSafeToWait() local
268 if (held_mutex == Locks::user_code_suspension_lock_) { in CheckSafeToWait()
277 oss << "Holding \"" << held_mutex->name_ << "\" " in CheckSafeToWait()
285 } else if (held_mutex != nullptr) { in CheckSafeToWait()
287 oss << "Holding \"" << held_mutex->name_ << "\" " in CheckSafeToWait()