Lines Matching refs:this
49 DCHECK_EQ(Thread::Current(), this); in AllowThreadSuspension()
56 DCHECK_EQ(Thread::Current(), this); in CheckSuspend()
72 if (kIsDebugBuild && this != Thread::Current()) { in SetState()
75 LOG(FATAL) << "Thread \"" << name << "\"(" << this << " != Thread::Current()=" in SetState()
112 DCHECK_EQ(this, Thread::Current()); in TransitionFromRunnableToSuspended()
137 Locks::mutator_lock_->SharedUnlock(this); in TransitionFromRunnableToSuspended()
147 Locks::mutator_lock_->AssertNotHeld(this); // Otherwise we starve GC.. in TransitionFromSuspendedToRunnable()
152 MutexLock mu(this, *Locks::thread_suspend_count_lock_); in TransitionFromSuspendedToRunnable()
157 Thread::resume_cond_->Wait(this); in TransitionFromSuspendedToRunnable()
164 Locks::mutator_lock_->SharedLock(this); in TransitionFromSuspendedToRunnable()
179 Locks::mutator_lock_->SharedUnlock(this); in TransitionFromSuspendedToRunnable()
184 flip_func->Run(this); in TransitionFromSuspendedToRunnable()
228 DCHECK(Thread::Current() == this) << "Should be called by self"; in SetThreadLocalAllocationStack()
242 DCHECK(this == self || IsSuspended() || GetState() == kWaitingPerformingGc) in RevokeThreadLocalAllocationStack()
243 << GetState() << " thread " << this << " self " << self; in RevokeThreadLocalAllocationStack()