• Home
  • Raw
  • Download

Lines Matching refs:this

77   DCHECK_EQ(Thread::Current(), this);  in CheckSuspend()
101 DCHECK_EQ(self, this); in CheckEmptyCheckpointFromWeakRefAccess()
125 DCHECK_EQ(Thread::Current(), this); in CheckEmptyCheckpointFromMutex()
141 if (kIsDebugBuild && this != Thread::Current()) { in SetState()
144 LOG(FATAL) << "Thread \"" << name << "\"(" << this << " != Thread::Current()=" in SetState()
151 << new_state << " " << *this << " " << *Thread::Current(); in SetState()
175 auto is_suspending_for_user_code = [this]() NO_THREAD_SAFETY_ANALYSIS { in IsThreadSuspensionAllowable()
207 auto is_suspending_for_user_code = [this]() NO_THREAD_SAFETY_ANALYSIS { in AssertThreadSuspensionIsAllowable()
260 PassActiveSuspendBarriers(this); in PassActiveSuspendBarriers()
277 DCHECK_EQ(this, Thread::Current()); in TransitionFromRunnableToSuspended()
281 GetMutatorLock()->TransitionFromRunnableToSuspended(this); in TransitionFromRunnableToSuspended()
297 GetMutatorLock()->AssertNotHeld(this); // Otherwise we starve GC. in TransitionFromSuspendedToRunnable()
310 GetMutatorLock()->TransitionFromSuspendedToRunnable(this); in TransitionFromSuspendedToRunnable()
314 PassActiveSuspendBarriers(this); in TransitionFromSuspendedToRunnable()
333 thread_to_pass = this; in TransitionFromSuspendedToRunnable()
336 ScopedTransitioningToRunnable scoped_transitioning_to_runnable(this); in TransitionFromSuspendedToRunnable()
366 GetMutatorLock()->TransitionFromSuspendedToRunnable(this); in TransitionFromSuspendedToRunnable()
368 RunFlipFunction(this, /*notify=*/ false); in TransitionFromSuspendedToRunnable()
404 DCHECK(this == Thread::Current()); in GetWeakRefAccessEnabled()
427 DCHECK(Thread::Current() == this) << "Should be called by self"; in SetThreadLocalAllocationStack()
441 DCHECK(this == self || IsSuspended() || GetState() == ThreadState::kWaitingPerformingGc) in RevokeThreadLocalAllocationStack()
442 << GetState() << " thread " << this << " self " << self; in RevokeThreadLocalAllocationStack()
459 (((gUseUserfaultfd || gUseReadBarrier) && this != self) || suspend_barrier != nullptr)) { in ModifySuspendCount()