Lines Matching refs:self

115   Thread* self = Thread::Current();  in NotifyStartupCompleted()  local
116 MutexLock mu(self, *Locks::profiler_lock_); in NotifyStartupCompleted()
120 MutexLock mu2(self, instance_->wait_lock_); in NotifyStartupCompleted()
121 instance_->period_condition_.Signal(self); in NotifyStartupCompleted()
125 Thread* self = Thread::Current(); in Run() local
129 Locks::profiler_lock_->ExclusiveUnlock(self); in Run()
137 MutexLock mu(self, wait_lock_); in Run()
144 period_condition_.TimedWait(self, NsToMs(end_time - current_time), 0); in Run()
159 while (!ShuttingDown(self)) { in Run()
164 MutexLock mu(self, wait_lock_); in Run()
166 period_condition_.Wait(self); in Run()
168 period_condition_.TimedWait(self, cur_wait_without_jit, 0); in Run()
176 if (ShuttingDown(self)) { in Run()
186 MutexLock mu(self, wait_lock_); in Run()
187 period_condition_.TimedWait(self, NsToMs(min_save_period_ns - sleep_time), 0); in Run()
191 if (ShuttingDown(self)) { in Run()
199 if (ShuttingDown(self)) { in Run()
330 Thread* const self = Thread::Current(); in SampleClassesAndExecutedMethods() local
344 ScopedObjectAccess soa(self); in SampleClassesAndExecutedMethods()
345 gc::ScopedGCCriticalSection sgcs(self, in SampleClassesAndExecutedMethods()
413 Thread* const self = Thread::Current(); in FetchAndCacheResolvedClassesAndMethods() local
423 MutexLock mu(self, *Locks::profiler_lock_); in FetchAndCacheResolvedClassesAndMethods()
440 MutexLock mu(self, *Locks::profiler_lock_); in FetchAndCacheResolvedClassesAndMethods()
828 bool ProfileSaver::ShuttingDown(Thread* self) { in ShuttingDown() argument
829 MutexLock mu(self, *Locks::profiler_lock_); in ShuttingDown()