Home
last modified time | relevance | path

Searched refs:GetJit (Results 1 – 25 of 34) 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/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()
126 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/test/common/
Druntime_state.cc48 && runtime->GetJit() != nullptr in GetJitIfEnabled()
51 return can_jit ? runtime->GetJit() : nullptr; in GetJitIfEnabled()
343 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_waitForCompilation()
350 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_stopJit()
357 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_startJit()
364 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_getJitThreshold()
369 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_transitionJitFromZygote()
/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc265 if (Runtime::Current()->GetJit() != nullptr) { in ZygoteHooks_nativePostForkSystemServer()
266 Runtime::Current()->GetJit()->GetCodeCache()->PostForkChildAction( in ZygoteHooks_nativePostForkSystemServer()
321 if (runtime->GetJit() != nullptr) { in ZygoteHooks_nativePostForkChild()
324 runtime->GetJit()->GetCodeCache()->PostForkChildAction( in ZygoteHooks_nativePostForkChild()
328 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/runtime/jit/
Djit.cc371 jit::Jit* jit = Runtime::Current()->GetJit(); in NewTypeLoadedIfUsingJit()
412 Jit* jit = Runtime::Current()->GetJit(); in MaybeDoOnStackReplacement()
589 Runtime::Current()->GetJit()->CompileMethod( in Run()
637 runtime->GetJit()->CompileMethodsFromProfile( in Run()
677 Runtime::Current()->GetJit()->CompileMethodsFromProfile( in Run()
935 if (UNLIKELY(runtime->UseJitCompilation() && runtime->GetJit()->JitAtFirstUse())) { in MethodEntered()
995 jit::Jit* jit = Runtime::Current()->GetJit(); in ScopedJitSuspend()
1004 DCHECK(Runtime::Current()->GetJit() != nullptr); in ~ScopedJitSuspend()
1005 DCHECK(Runtime::Current()->GetJit()->GetThreadPool() != nullptr); in ~ScopedJitSuspend()
1006 Runtime::Current()->GetJit()->Start(); in ~ScopedJitSuspend()
Dprofiling_info.cc67 jit::JitCodeCache* code_cache = Runtime::Current()->GetJit()->GetCodeCache(); in Create()
/art/compiler/jit/
Djit_compiler.cc199 JitCodeCache* const code_cache = runtime->GetJit()->GetCodeCache(); in CompileMethod()
216 runtime->GetJit()->AddTimingLogger(logger); in CompileMethod()
/art/runtime/
Druntime.cc654 if (GetJit() != nullptr) { in PreZygoteFork()
655 GetJit()->PreZygoteFork(); in PreZygoteFork()
661 if (GetJit() != nullptr) { in PostZygoteFork()
662 GetJit()->PostZygoteFork(); in PostZygoteFork()
679 if (GetJit() != nullptr) { in SweepSystemWeaks()
685 GetJit()->GetCodeCache()->SweepRootTables(visitor); in SweepSystemWeaks()
1935 if (GetJit() != nullptr) { in DumpForSigQuit()
1936 GetJit()->DumpForSigQuit(os); in DumpForSigQuit()
2240 if (GetJit() != nullptr) { in DisallowNewSystemWeaks()
2241 GetJit()->GetCodeCache()->DisallowInlineCacheAccess(); in DisallowNewSystemWeaks()
[all …]
Dstack.cc590 runtime->GetJit()->GetCodeCache()->ContainsPc(reinterpret_cast<const void*>(pc))) { in AssertPcIsWithinQuickCode()
605 if (runtime->UseJitCompilation() && runtime->GetJit()->GetCodeCache()->ContainsPc(code)) { in AssertPcIsWithinQuickCode()
731 (runtime->GetJit() != nullptr && in GetCurrentQuickFrameInfo()
732 runtime->GetJit()->GetCodeCache()->ContainsPc(entry_point))) << method->PrettyMethod(); in GetCurrentQuickFrameInfo()
797 CHECK(runtime->GetJit() != nullptr); in WalkStack()
798 code = runtime->GetJit()->GetCodeCache()->GetJniStubCode(method); in WalkStack()
Dart_method.cc607 jit::Jit* jit = runtime->GetJit(); in GetOatQuickMethodHeader()
678 jit::Jit* jit = runtime->GetJit(); in HasAnyCompiledCode()
763 if (runtime->GetJit()->GetCodeCache()->ContainsPc(GetEntryPointFromQuickCompiledCode())) { in CopyFrom()
Dinstrumentation.cc880 if (!method->IsNative() && Runtime::Current()->GetJit() != nullptr) { in UpdateMethodsCodeImpl()
882 DCHECK(!Runtime::Current()->GetJit()->GetCodeCache()->GetGarbageCollectCodeUnsafe()); in UpdateMethodsCodeImpl()
1124 jit::Jit* jit = Runtime::Current()->GetJit(); in GetCodeForInvoke()
Doat_file_manager.cc649 if (Runtime::Current()->GetJit() != nullptr) { in OpenDexFilesFromOat()
651 Runtime::Current()->GetJit()->RegisterDexFiles( in OpenDexFilesFromOat()
Dtrace.cc395 if (runtime->GetJit() != nullptr) { in Start()
401 runtime->GetJit()->GetCodeCache()->SetGarbageCollectCode(false); in Start()
Dcha.cc686 jit::Jit* jit = Runtime::Current()->GetJit(); in InvalidateSingleImplementationMethods()
Dquick_exception_handler.cc609 Runtime::Current()->GetJit()->GetCodeCache()->InvalidateCompiledCodeFor( in DeoptimizeSingleFrame()
/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/gc/space/
Ddlmalloc_space.cc387 if (LIKELY(runtime->GetJit() != nullptr)) { in ArtDlMallocMoreCore()
388 jit::JitCodeCache* code_cache = runtime->GetJit()->GetCodeCache(); in ArtDlMallocMoreCore()
/art/runtime/interpreter/mterp/
Dmterp.cc161 (runtime->GetJit() == nullptr || !runtime->GetJit()->JitAtFirstUse()); in CanUseMterp()
890 jit::Jit* jit = Runtime::Current()->GetJit(); in MterpSetUpHotnessCountdown()
928 jit::Jit* jit = Runtime::Current()->GetJit(); in MterpAddHotnessBatch()
952 jit::Jit* jit = Runtime::Current()->GetJit(); in MterpMaybeDoOnStackReplacement()
/art/runtime/interpreter/
Dinterpreter.cc293 jit::Jit* jit = Runtime::Current()->GetJit(); in Execute()
634 jit::Jit* jit = Runtime::Current()->GetJit(); in EnterInterpreterFromEntryPoint()
/art/compiler/optimizing/
Doptimizing_compiler.cc1335 Runtime::Current()->GetJit()->AddMemoryUsage(method, allocator.BytesUsed()); in JitCompile()
1444 Runtime::Current()->GetJit()->AddMemoryUsage(method, allocator.BytesUsed()); in JitCompile()
1489 Runtime::Current()->GetJit()->AddTimingLogger(logger); in GenerateJitDebugInfo()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc1131 jit::Jit* jit = Runtime::Current()->GetJit(); in artInstrumentationMethodEntryFromCode()
1490 if (Runtime::Current()->GetJit() != nullptr) { in artQuickResolutionTrampoline()
1491 code = Runtime::Current()->GetJit()->GetCodeCache()->GetZygoteSavedEntryPoint(called); in artQuickResolutionTrampoline()
2384 jit::Jit* jit = runtime->GetJit(); in artQuickGenericJniTrampoline()

12