Home
last modified time | relevance | path

Searched refs:GetJit (Results 1 – 25 of 39) sorted by relevance

12

/art/test/667-jit-jni-stub/
Djit_jni_stub_test.cc32 CHECK(Runtime::Current()->GetJit() != nullptr); in isNextJitGcFull()
33 jit::JitCodeCache* cache = Runtime::Current()->GetJit()->GetCodeCache(); in isNextJitGcFull()
51 CHECK(Runtime::Current()->GetJit() != nullptr); in Java_Main_jitGc()
52 jit::JitCodeCache* cache = Runtime::Current()->GetJit()->GetCodeCache(); in Java_Main_jitGc()
/art/test/2031-zygote-compiled-frame-deopt/
Dnative-wait.cc39 bool has_jit = runtime->GetJit() != nullptr; in Java_art_Test2031_simulateZygoteFork()
41 runtime->GetJit()->PreZygoteFork(); in Java_art_Test2031_simulateZygoteFork()
54 runtime->GetJit()->PostForkChildAction(false, false); in Java_art_Test2031_simulateZygoteFork()
/art/test/570-checker-osr/
Dosr.cc57 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_isInOsrCode()
69 Runtime::Current()->GetJit()->GetCodeCache()->LookupOsrMethodHeader(m); in Java_Main_isInOsrCode()
91 Runtime::Current()->GetJit()->GetCodeCache()->LookupOsrMethodHeader(m); in Java_Main_isInInterpreter()
127 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_ensureHasOsrCode()
/art/test/566-polymorphic-inlining/
Dpolymorphic_inline.cc32 jit::Jit* jit = Runtime::Current()->GetJit(); in do_checks()
64 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_ensureProfilingInfo566()
75 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_ensureJittedAndPolymorphicInline566()
/art/test/141-class-unload/
Djni_unload.cc29 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_IntHolder_waitForCompilation()
/art/runtime/entrypoints/quick/
Dquick_thread_entrypoints.cc34 Runtime::Current()->GetJit()->EnqueueOptimizedCompilation(method, self); in artCompileOptimized()
/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc277 if (Runtime::Current()->GetJit() != nullptr) { in ZygoteHooks_nativePostForkSystemServer()
278 Runtime::Current()->GetJit()->GetCodeCache()->PostForkChildAction( in ZygoteHooks_nativePostForkSystemServer()
341 if (runtime->GetJit() != nullptr) { in ZygoteHooks_nativePostForkChild()
344 runtime->GetJit()->GetCodeCache()->PostForkChildAction( in ZygoteHooks_nativePostForkChild()
348 runtime->GetJit()->PostForkChildAction(is_system_server, is_zygote); in ZygoteHooks_nativePostForkChild()
/art/test/708-jit-cache-churn/
Djit.cc40 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_JitCacheChurnTest_removeJitCompiledMethod()
/art/test/common/
Druntime_state.cc52 && runtime->GetJit() != nullptr in GetJitIfEnabled()
55 return can_jit ? runtime->GetJit() : nullptr; in GetJitIfEnabled()
384 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_waitForCompilation()
391 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_stopJit()
398 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_startJit()
405 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_getJitThreshold()
/art/compiler/jit/
Djit_compiler.cc183 JitCodeCache* const code_cache = runtime->GetJit()->GetCodeCache(); in CompileMethod()
201 runtime->GetJit()->AddTimingLogger(logger); in CompileMethod()
/art/runtime/jit/
Djit.cc431 jit::Jit* jit = Runtime::Current()->GetJit(); in NewTypeLoadedIfUsingJit()
561 Jit* jit = Runtime::Current()->GetJit(); in MaybeDoOnStackReplacement()
794 Runtime::Current()->GetJit()->CompileMethod( in Run()
862 Runtime::Current()->GetJit()->GetCodeCache()->GetZygoteMap()->SetCompilationState( in Run()
955 added_to_queue += runtime->GetJit()->CompileMethodsFromBootProfile( in Run()
958 added_to_queue += runtime->GetJit()->CompileMethodsFromProfile( in Run()
962 JitCodeCache* code_cache = runtime->GetJit()->GetCodeCache(); in Run()
1002 Jit* jit = Runtime::Current()->GetJit(); in Run()
1675 jit::Jit* jit = Runtime::Current()->GetJit(); in ScopedJitSuspend()
1684 DCHECK(Runtime::Current()->GetJit() != nullptr); in ~ScopedJitSuspend()
[all …]
Dprofiling_info.cc68 jit::JitCodeCache* code_cache = Runtime::Current()->GetJit()->GetCodeCache(); in Create()
Dprofile_saver.cc429 } else if (Runtime::Current()->GetJit() != nullptr) { in FetchAndCacheResolvedClassesAndMethods()
430 hot_method_sample_threshold = Runtime::Current()->GetJit()->WarmMethodThreshold(); in FetchAndCacheResolvedClassesAndMethods()
713 DCHECK(runtime->GetJit() != nullptr); in Start()
Ddebugger_interface.cc475 jit::Jit* jit = Runtime::Current()->GetJit(); in RepackEntries()
/art/runtime/
Druntime.cc681 if (GetJit() != nullptr) { in PreZygoteFork()
682 GetJit()->PreZygoteFork(); in PreZygoteFork()
689 if (GetJit() != nullptr) { in PostZygoteFork()
690 GetJit()->PostZygoteFork(); in PostZygoteFork()
709 if (GetJit() != nullptr) { in SweepSystemWeaks()
715 GetJit()->GetCodeCache()->SweepRootTables(visitor); in SweepSystemWeaks()
2019 if (GetJit() != nullptr) { in DumpForSigQuit()
2020 GetJit()->DumpForSigQuit(os); in DumpForSigQuit()
2331 if (GetJit() != nullptr) { in DisallowNewSystemWeaks()
2332 GetJit()->GetCodeCache()->DisallowInlineCacheAccess(); in DisallowNewSystemWeaks()
[all …]
Dstack.cc687 runtime->GetJit()->GetCodeCache()->ContainsPc(reinterpret_cast<const void*>(pc))) { in AssertPcIsWithinQuickCode()
702 if (runtime->UseJitCompilation() && runtime->GetJit()->GetCodeCache()->ContainsPc(code)) { in AssertPcIsWithinQuickCode()
820 (runtime->GetJit() != nullptr && in GetCurrentQuickFrameInfo()
821 runtime->GetJit()->GetCodeCache()->ContainsPc(entry_point))) << method->PrettyMethod(); in GetCurrentQuickFrameInfo()
874 CHECK(runtime->GetJit() != nullptr); in WalkStack()
875 code = runtime->GetJit()->GetCodeCache()->GetJniStubCode(method); in WalkStack()
Dart_method.cc621 jit::Jit* jit = runtime->GetJit(); in GetOatQuickMethodHeader()
692 jit::Jit* jit = runtime->GetJit(); in HasAnyCompiledCode()
777 if (runtime->GetJit()->GetCodeCache()->ContainsPc(GetEntryPointFromQuickCompiledCode())) { in CopyFrom()
Dinstrumentation.cc212 jit::Jit* jit = Runtime::Current()->GetJit(); in UpdateEntrypoints()
931 if (!method->IsNative() && Runtime::Current()->GetJit() != nullptr) { in UpdateMethodsCodeImpl()
933 DCHECK(!Runtime::Current()->GetJit()->GetCodeCache()->GetGarbageCollectCodeUnsafe()); in UpdateMethodsCodeImpl()
1175 jit::Jit* jit = Runtime::Current()->GetJit(); in GetCodeForInvoke()
Doat_file_manager.cc655 if (Runtime::Current()->GetJit() != nullptr) { in OpenDexFilesFromOat()
656 Runtime::Current()->GetJit()->RegisterDexFiles(dex_files, class_loader); in OpenDexFilesFromOat()
Dtrace.cc396 if (runtime->GetJit() != nullptr) { in Start()
402 runtime->GetJit()->GetCodeCache()->SetGarbageCollectCode(false); in Start()
/art/compiler/optimizing/
Dsharpening.cc106 if (Runtime::Current()->GetJit()->CanEncodeMethod( in SharpenInvokeStaticOrDirect()
192 if (runtime->GetJit()->CanEncodeClass( in ComputeLoadClassKind()
364 } else if (runtime->GetJit()->CanEncodeString( in ProcessLoadString()
/art/openjdkjvmti/
Ddeopt_manager.cc178 DCHECK(runtime->GetJit() == nullptr) << "Jit should not be running yet!"; in FinishSetup()
186 if (runtime->GetJit() == nullptr && in FinishSetup()
199 if (runtime->GetJit() == nullptr) { in FinishSetup()
/art/tools/jvmti-agents/jit-load/
Djitload.cc40 auto* jit = art::Runtime::Current()->GetJit(); in GetJitThread()
/art/runtime/interpreter/mterp/
Dmterp.cc160 (runtime->GetJit() == nullptr || !runtime->GetJit()->JitAtFirstUse()); in CanUseMterp()
888 jit::Jit* jit = Runtime::Current()->GetJit(); in MterpSetUpHotnessCountdown()
926 jit::Jit* jit = Runtime::Current()->GetJit(); in MterpAddHotnessBatch()
950 jit::Jit* jit = Runtime::Current()->GetJit(); in MterpMaybeDoOnStackReplacement()
/art/runtime/interpreter/
Dinterpreter.cc314 jit::Jit* jit = Runtime::Current()->GetJit(); in Execute()
654 jit::Jit* jit = Runtime::Current()->GetJit(); in EnterInterpreterFromEntryPoint()

12