Lines Matching refs:this

43   DCHECK_EQ(Thread::Current(), this);  in AllowThreadSuspension()
53 DCHECK_EQ(Thread::Current(), this); in CheckSuspend()
69 DCHECK_EQ(self, this); in CheckEmptyCheckpointFromWeakRefAccess()
93 DCHECK_EQ(Thread::Current(), this); in CheckEmptyCheckpointFromMutex()
109 if (kIsDebugBuild && this != Thread::Current()) { in SetState()
112 LOG(FATAL) << "Thread \"" << name << "\"(" << this << " != Thread::Current()=" in SetState()
117 CHECK_NE(old_state_and_flags.as_struct.state, kRunnable) << new_state << " " << *this << " " in SetState()
136 auto is_suspending_for_user_code = [this]() NO_THREAD_SAFETY_ANALYSIS { in IsThreadSuspensionAllowable()
168 auto is_suspending_for_user_code = [this]() NO_THREAD_SAFETY_ANALYSIS { in AssertThreadSuspensionIsAllowable()
222 PassActiveSuspendBarriers(this); in PassActiveSuspendBarriers()
233 DCHECK_EQ(this, Thread::Current()); in TransitionFromRunnableToSuspended()
237 Locks::mutator_lock_->TransitionFromRunnableToSuspended(this); in TransitionFromRunnableToSuspended()
248 Locks::mutator_lock_->AssertNotHeld(this); // Otherwise we starve GC.. in TransitionFromSuspendedToRunnable()
263 Locks::mutator_lock_->TransitionFromSuspendedToRunnable(this); in TransitionFromSuspendedToRunnable()
267 PassActiveSuspendBarriers(this); in TransitionFromSuspendedToRunnable()
284 thread_to_pass = this; in TransitionFromSuspendedToRunnable()
287 ScopedTransitioningToRunnable scoped_transitioning_to_runnable(this); in TransitionFromSuspendedToRunnable()
302 flip_func->Run(this); in TransitionFromSuspendedToRunnable()
332 DCHECK(Thread::Current() == this) << "Should be called by self"; in SetThreadLocalAllocationStack()
346 DCHECK(this == self || IsSuspended() || GetState() == kWaitingPerformingGc) in RevokeThreadLocalAllocationStack()
347 << GetState() << " thread " << this << " self " << self; in RevokeThreadLocalAllocationStack()
363 if (delta > 0 && ((kUseReadBarrier && this != self) || suspend_barrier != nullptr)) { in ModifySuspendCount()