Searched refs:held_mutex (Results 1 – 3 of 3) sorted by relevance
118 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckEmptyCheckpointFromWeakRefAccess() local119 if (held_mutex != nullptr && held_mutex != GetMutatorLock() && in CheckEmptyCheckpointFromWeakRefAccess()120 held_mutex != cond_var_mutex && in CheckEmptyCheckpointFromWeakRefAccess()121 held_mutex != cp_placeholder_mutex_.load(std::memory_order_relaxed)) { in CheckEmptyCheckpointFromWeakRefAccess()123 CHECK(Locks::IsExpectedOnWeakRefAccess(held_mutex)) in CheckEmptyCheckpointFromWeakRefAccess()124 << "Holding unexpected mutex " << held_mutex->GetName() in CheckEmptyCheckpointFromWeakRefAccess()206 BaseMutex* held_mutex = GetHeldMutex(static_cast<LockLevel>(i)); in AssertThreadSuspensionIsAllowable() local207 if (held_mutex != nullptr) { in AssertThreadSuspensionIsAllowable()208 LOG(ERROR) << "holding \"" << held_mutex->GetName() in AssertThreadSuspensionIsAllowable()
132 BaseMutex* held_mutex = self->GetHeldMutex(lock_level_i); in RegisterAsLockedImpl() local138 } else if (UNLIKELY(held_mutex != nullptr) && lock_level_i != kAbortLock) { in RegisterAsLockedImpl()139 LOG(ERROR) << "Lock level violation: holding \"" << held_mutex->name_ << "\" " in RegisterAsLockedImpl()
272 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckSafeToWait() local280 if (held_mutex == Locks::user_code_suspension_lock_) { in CheckSafeToWait()289 oss << "Holding \"" << held_mutex->name_ << "\" " in CheckSafeToWait()297 } else if (held_mutex != nullptr) { in CheckSafeToWait()305 oss << "Holding \"" << held_mutex->name_ << "\" " in CheckSafeToWait()