Lines Matching refs:this
41 DCHECK_EQ(Thread::Current(), this); in AllowThreadSuspension()
51 DCHECK_EQ(Thread::Current(), this); in CheckSuspend()
67 DCHECK_EQ(self, this); in CheckEmptyCheckpointFromWeakRefAccess()
91 DCHECK_EQ(Thread::Current(), this); in CheckEmptyCheckpointFromMutex()
107 if (kIsDebugBuild && this != Thread::Current()) { in SetState()
110 LOG(FATAL) << "Thread \"" << name << "\"(" << this << " != Thread::Current()=" in SetState()
133 auto is_suspending_for_user_code = [this]() NO_THREAD_SAFETY_ANALYSIS { in IsThreadSuspensionAllowable()
165 auto is_suspending_for_user_code = [this]() NO_THREAD_SAFETY_ANALYSIS { in AssertThreadSuspensionIsAllowable()
219 PassActiveSuspendBarriers(this); in PassActiveSuspendBarriers()
230 DCHECK_EQ(this, Thread::Current()); in TransitionFromRunnableToSuspended()
234 Locks::mutator_lock_->TransitionFromRunnableToSuspended(this); in TransitionFromRunnableToSuspended()
245 Locks::mutator_lock_->AssertNotHeld(this); // Otherwise we starve GC.. in TransitionFromSuspendedToRunnable()
259 Locks::mutator_lock_->TransitionFromSuspendedToRunnable(this); in TransitionFromSuspendedToRunnable()
263 PassActiveSuspendBarriers(this); in TransitionFromSuspendedToRunnable()
280 thread_to_pass = this; in TransitionFromSuspendedToRunnable()
283 ScopedTransitioningToRunnable scoped_transitioning_to_runnable(this); in TransitionFromSuspendedToRunnable()
298 flip_func->Run(this); in TransitionFromSuspendedToRunnable()
328 DCHECK(Thread::Current() == this) << "Should be called by self"; in SetThreadLocalAllocationStack()
342 DCHECK(this == self || IsSuspended() || GetState() == kWaitingPerformingGc) in RevokeThreadLocalAllocationStack()
343 << GetState() << " thread " << this << " self " << self; in RevokeThreadLocalAllocationStack()
359 if (delta > 0 && ((kUseReadBarrier && this != self) || suspend_barrier != nullptr)) { in ModifySuspendCount()