Lines Matching refs:self
68 Thread* self = Thread::Current(); in CheckEmptyCheckpointFromWeakRefAccess() local
69 DCHECK_EQ(self, this); in CheckEmptyCheckpointFromWeakRefAccess()
76 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckEmptyCheckpointFromWeakRefAccess()
345 Thread* self = Thread::Current(); in RevokeThreadLocalAllocationStack() local
346 DCHECK(this == self || IsSuspended() || GetState() == kWaitingPerformingGc) in RevokeThreadLocalAllocationStack()
347 << GetState() << " thread " << this << " self " << self; in RevokeThreadLocalAllocationStack()
359 inline bool Thread::ModifySuspendCount(Thread* self, in ModifySuspendCount() argument
363 if (delta > 0 && ((kUseReadBarrier && this != self) || suspend_barrier != nullptr)) { in ModifySuspendCount()
367 if (LIKELY(ModifySuspendCountInternal(self, delta, suspend_barrier, reason))) { in ModifySuspendCount()
380 Locks::thread_suspend_count_lock_->ExclusiveUnlock(self); in ModifySuspendCount()
382 Locks::thread_suspend_count_lock_->ExclusiveLock(self); in ModifySuspendCount()
386 return ModifySuspendCountInternal(self, delta, suspend_barrier, reason); in ModifySuspendCount()