Lines Matching refs:Current

115   Thread* self = Thread::Current();  in NotifyStartupCompleted()
125 Thread* self = Thread::Current(); in Run()
139 while (!Runtime::Current()->GetStartupCompleted()) { in Run()
150 Runtime::Current()->NotifyStartupCompleted(); in Run()
219 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in NotifyJitActivity()
229 period_condition_.Signal(Thread::Current()); in WakeUpSaver()
239 MutexLock wait_mutex(Thread::Current(), wait_lock_); in NotifyJitActivityInternal()
330 Thread* const self = Thread::Current(); in SampleClassesAndExecutedMethods()
331 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in SampleClassesAndExecutedMethods()
413 Thread* const self = Thread::Current(); in FetchAndCacheResolvedClassesAndMethods()
414 Runtime* const runtime = Runtime::Current(); in FetchAndCacheResolvedClassesAndMethods()
420 const bool is_low_ram = Runtime::Current()->GetHeap()->IsLowMemoryMode(); in FetchAndCacheResolvedClassesAndMethods()
429 } else if (Runtime::Current()->GetJit() != nullptr) { in FetchAndCacheResolvedClassesAndMethods()
430 hot_method_sample_threshold = Runtime::Current()->GetJit()->WarmMethodThreshold(); in FetchAndCacheResolvedClassesAndMethods()
449 Runtime::Current()->GetArenaPool(), options_.GetProfileBootClassPath())); in FetchAndCacheResolvedClassesAndMethods()
523 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in ProcessProfilingInfo()
537 if (!force_save && ShuttingDown(Thread::Current())) { in ProcessProfilingInfo()
551 ScopedObjectAccess soa(Thread::Current()); in ProcessProfilingInfo()
556 ProfileCompilationInfo info(Runtime::Current()->GetArenaPool()); in ProcessProfilingInfo()
653 Runtime::Current()->GetArenaPool()->TrimMaps(); in ProcessProfilingInfo()
659 Runtime* runtime = Runtime::Current(); in RunProfileSaverThread()
666 CHECK(runtime->IsShuttingDown(Thread::Current())); in RunProfileSaverThread()
671 Locks::profiler_lock_->ExclusiveLock(Thread::Current()); in RunProfileSaverThread()
688 OatFileManager& oat_manager = Runtime::Current()->GetOatFileManager(); in ShouldProfileLocation()
711 Runtime* const runtime = Runtime::Current(); in Start()
725 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in Start()
789 MutexLock profiler_mutex(Thread::Current(), *Locks::profiler_lock_); in Stop()
806 MutexLock wait_mutex(Thread::Current(), profile_saver->wait_lock_); in Stop()
807 profile_saver->period_condition_.Signal(Thread::Current()); in Stop()
818 MutexLock profiler_mutex(Thread::Current(), *Locks::profiler_lock_); in Stop()
834 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in IsStarted()
894 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in DumpInstanceInfo()
917 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in ForceProcessProfiles()
929 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in HasSeenMethod()
931 ProfileCompilationInfo info(Runtime::Current()->GetArenaPool()); in HasSeenMethod()
945 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in ResolveTrackedLocations()
969 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in ResolveTrackedLocations()
979 std::string package_name = Runtime::Current()->GetProcessPackageName(); in GetProfileSampleAnnotation()
996 extra_flags = Is64BitInstructionSet(Runtime::Current()->GetInstructionSet()) in AnnotateSampleFlags()