Searched refs:held_mutex (Results 1 – 3 of 3) sorted by relevance
73 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckEmptyCheckpointFromWeakRefAccess() local74 if (held_mutex != nullptr && in CheckEmptyCheckpointFromWeakRefAccess()75 held_mutex != Locks::mutator_lock_ && in CheckEmptyCheckpointFromWeakRefAccess()76 held_mutex != cond_var_mutex) { in CheckEmptyCheckpointFromWeakRefAccess()77 CHECK(Locks::IsExpectedOnWeakRefAccess(held_mutex)) in CheckEmptyCheckpointFromWeakRefAccess()78 << "Holding unexpected mutex " << held_mutex->GetName() in CheckEmptyCheckpointFromWeakRefAccess()152 BaseMutex* held_mutex = GetHeldMutex(static_cast<LockLevel>(i)); in AssertThreadSuspensionIsAllowable() local153 if (held_mutex != nullptr) { in AssertThreadSuspensionIsAllowable()154 LOG(ERROR) << "holding \"" << held_mutex->GetName() in AssertThreadSuspensionIsAllowable()
93 BaseMutex* held_mutex = self->GetHeldMutex(lock_level_i); in RegisterAsLocked() local94 if (UNLIKELY(held_mutex != nullptr) && lock_level_i != kAbortLock) { in RegisterAsLocked()95 LOG(ERROR) << "Lock level violation: holding \"" << held_mutex->name_ << "\" " in RegisterAsLocked()
235 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckSafeToWait() local242 if (held_mutex == Locks::user_code_suspension_lock_ && level_ == kThreadSuspendCountLock) { in CheckSafeToWait()250 LOG(ERROR) << "Holding \"" << held_mutex->name_ << "\" " in CheckSafeToWait()256 } else if (held_mutex != nullptr) { in CheckSafeToWait()257 LOG(ERROR) << "Holding \"" << held_mutex->name_ << "\" " in CheckSafeToWait()