Searched refs:held_mutex (Results 1 – 3 of 3) sorted by relevance
74 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckEmptyCheckpointFromWeakRefAccess() local75 if (held_mutex != nullptr && in CheckEmptyCheckpointFromWeakRefAccess()76 held_mutex != Locks::mutator_lock_ && in CheckEmptyCheckpointFromWeakRefAccess()77 held_mutex != cond_var_mutex) { in CheckEmptyCheckpointFromWeakRefAccess()78 CHECK(Locks::IsExpectedOnWeakRefAccess(held_mutex)) in CheckEmptyCheckpointFromWeakRefAccess()79 << "Holding unexpected mutex " << held_mutex->GetName() in CheckEmptyCheckpointFromWeakRefAccess()153 BaseMutex* held_mutex = GetHeldMutex(static_cast<LockLevel>(i)); in AssertThreadSuspensionIsAllowable() local154 if (held_mutex != nullptr) { in AssertThreadSuspensionIsAllowable()155 LOG(ERROR) << "holding \"" << held_mutex->GetName() in AssertThreadSuspensionIsAllowable()
118 BaseMutex* held_mutex = self->GetHeldMutex(lock_level_i); in RegisterAsLocked() local124 } else if (UNLIKELY(held_mutex != nullptr) && lock_level_i != kAbortLock) { in RegisterAsLocked()125 LOG(ERROR) << "Lock level violation: holding \"" << held_mutex->name_ << "\" " in RegisterAsLocked()
258 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckSafeToWait() local265 if (held_mutex == Locks::user_code_suspension_lock_ && level_ == kThreadSuspendCountLock) { in CheckSafeToWait()273 LOG(ERROR) << "Holding \"" << held_mutex->name_ << "\" " in CheckSafeToWait()279 } else if (held_mutex != nullptr) { in CheckSafeToWait()280 LOG(ERROR) << "Holding \"" << held_mutex->name_ << "\" " in CheckSafeToWait()