Home
last modified time | relevance | path

Searched refs:jit (Results 1 – 25 of 45) sorted by relevance

12

/art/test/141-class-unload/
Djni_unload.cc29 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_IntHolder_waitForCompilation() local
30 if (jit != nullptr) { in Java_IntHolder_waitForCompilation()
31 jit->WaitForCompilationToFinish(Thread::Current()); in Java_IntHolder_waitForCompilation()
36 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_stopJit() local
37 if (jit != nullptr) { in Java_Main_stopJit()
38 jit->Stop(); in Java_Main_stopJit()
43 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_startJit() local
44 if (jit != nullptr) { in Java_Main_startJit()
45 jit->Start(); in Java_Main_startJit()
/art/test/566-polymorphic-inlining/
Dpolymorphic_inline.cc31 jit::Jit* jit = Runtime::Current()->GetJit(); in do_checks() local
32 jit::JitCodeCache* code_cache = jit->GetCodeCache(); in do_checks()
46 jit->CompileMethod(method, soa.Self(), /* osr */ false); in do_checks()
63 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_ensureProfilingInfo566() local
64 if (jit == nullptr) { in Java_Main_ensureProfilingInfo566()
74 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_ensureJittedAndPolymorphicInline566() local
75 if (jit == nullptr) { in Java_Main_ensureJittedAndPolymorphicInline566()
/art/test/common/
Druntime_state.cc38 static jit::Jit* GetJitIfEnabled() { in GetJitIfEnabled()
158 jit::Jit* jit = GetJitIfEnabled(); in Java_Main_isJitCompiled() local
159 if (jit == nullptr) { in Java_Main_isJitCompiled()
168 return jit->GetCodeCache()->ContainsPc(method->GetEntryPointFromQuickCompiledCode()); in Java_Main_isJitCompiled()
175 jit::Jit* jit = GetJitIfEnabled(); in Java_Main_ensureJitCompiled() local
176 if (jit == nullptr) { in Java_Main_ensureJitCompiled()
196 jit::JitCodeCache* code_cache = jit->GetCodeCache(); in Java_Main_ensureJitCompiled()
211 jit->CompileMethod(method, self, /* osr */ false); in Java_Main_ensureJitCompiled()
233 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_getHotnessCounter() local
234 if (jit == nullptr) { in Java_Main_getHotnessCounter()
[all …]
/art/test/708-jit-cache-churn/
Djit.cc40 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_JitCacheChurnTest_removeJitCompiledMethod() local
41 jit->WaitForCompilationToFinish(Thread::Current()); in Java_JitCacheChurnTest_removeJitCompiledMethod()
46 jit::JitCodeCache* code_cache = jit->GetCodeCache(); in Java_JitCacheChurnTest_removeJitCompiledMethod()
Dinfo.txt1 …rmission updates and CPU cache inconsistencies. Only runs when test runner permits JIT, e.g. --jit.
/art/runtime/jit/
Djit.cc43 namespace jit { namespace
181 std::unique_ptr<Jit> jit(new Jit); in Create() local
182 jit->dump_info_on_shutdown_ = options->DumpJitInfoOnShutdown(); in Create()
186 jit->code_cache_.reset(JitCodeCache::Create( in Create()
189 jit->generate_debug_info_, in Create()
191 if (jit->GetCodeCache() == nullptr) { in Create()
194 jit->use_jit_compilation_ = options->UseJitCompilation(); in Create()
195 jit->profile_saver_options_ = options->GetProfileSaverOptions(); in Create()
196 VLOG(jit) << "JIT created with initial_capacity=" in Create()
203 jit->hot_method_threshold_ = options->GetCompileThreshold(); in Create()
[all …]
Dprofiling_info.h30 namespace jit {
48 friend class jit::JitCodeCache;
160 friend class jit::JitCodeCache;
Dprofile_saver.h35 jit::JitCodeCache* jit_code_cache,
65 jit::JitCodeCache* jit_code_cache,
112 jit::JitCodeCache* jit_code_cache_;
Djit.h41 namespace jit {
199 std::unique_ptr<jit::JitCodeCache> code_cache_;
/art/tools/cpp-define-generator/
Dconstant_jit.def17 // Constants within jit.h.
20 #include "jit/jit.h" // art::kSuspendRequest, etc.
26 DEFINE_JIT_CONSTANT(CHECK_OSR, int16_t, art::jit::kJitCheckForOSR)
27 DEFINE_JIT_CONSTANT(HOTNESS_DISABLE, int16_t, art::jit::kJitHotnessDisabled)
/art/test/570-checker-osr/
Dosr.cc63 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_isInOsrCode() local
64 if (jit == nullptr) { in Java_Main_isInOsrCode()
136 jit::Jit* jit = Runtime::Current()->GetJit(); in VisitFrame() local
138 while (jit->GetCodeCache()->LookupOsrMethodHeader(m) == nullptr) { in VisitFrame()
142 jit->CompileMethod(m, Thread::Current(), /* osr */ true); in VisitFrame()
/art/
DAndroid.mk196 .PHONY: test-art-host-jit
197 test-art-host-jit: test-art-host-run-test-jit
218 .PHONY: test-art-host-jit$(ART_PHONY_TEST_HOST_SUFFIX)
219 test-art-host-jit$(ART_PHONY_TEST_HOST_SUFFIX): test-art-host-run-test-jit$(ART_PHONY_TEST_HOST_SUF…
241 .PHONY: test-art-host-jit$(2ND_ART_PHONY_TEST_HOST_SUFFIX)
242 test-art-host-jit$(2ND_ART_PHONY_TEST_HOST_SUFFIX): test-art-host-run-test-jit$(2ND_ART_PHONY_TEST_…
288 .PHONY: test-art-target-jit
289 test-art-target-jit: test-art-target-run-test-jit
310 .PHONY: test-art-target-jit$(ART_PHONY_TEST_TARGET_SUFFIX)
311 test-art-target-jit$(ART_PHONY_TEST_TARGET_SUFFIX): test-art-target-run-test-jit$(ART_PHONY_TEST_TA…
[all …]
/art/tools/golem/
Denv43 ALL_TARGETS=(art-interpreter art-opt art-jit art-jit-cc art-opt-cc art-opt-debuggable art-vdex)
/art/runtime/interpreter/
Dinterpreter_common.h143 jit::Jit* jit = Runtime::Current()->GetJit(); in DoFastInvoke() local
144 if (jit != nullptr) { in DoFastInvoke()
146 jit->InvokeVirtualOrInterface(receiver, sf_method, shadow_frame.GetDexPC(), called_method); in DoFastInvoke()
148 jit->AddSamples(self, sf_method, 1, /*with_backedges*/false); in DoFastInvoke()
184 jit::Jit* jit = Runtime::Current()->GetJit(); in DoInvoke() local
185 if (jit != nullptr) { in DoInvoke()
187 jit->InvokeVirtualOrInterface(receiver, sf_method, shadow_frame.GetDexPC(), called_method); in DoInvoke()
189 jit->AddSamples(self, sf_method, 1, /*with_backedges*/false); in DoInvoke()
254 jit::Jit* jit = Runtime::Current()->GetJit(); in DoInvokeVirtualQuick() local
255 if (jit != nullptr) { in DoInvokeVirtualQuick()
[all …]
Dinterpreter.cc267 jit::Jit* jit = Runtime::Current()->GetJit(); in Execute() local
268 if (jit != nullptr) { in Execute()
269 jit->MethodEntered(self, shadow_frame.GetMethod()); in Execute()
270 if (jit->CanInvokeCompiledCode(method)) { in Execute()
595 jit::Jit* jit = Runtime::Current()->GetJit(); in EnterInterpreterFromEntryPoint() local
596 if (jit != nullptr) { in EnterInterpreterFromEntryPoint()
597 jit->NotifyCompiledCodeToInterpreterTransition(self, shadow_frame->GetMethod()); in EnterInterpreterFromEntryPoint()
/art/compiler/
Dcompiler.h26 namespace jit {
78 jit::JitCodeCache* code_cache ATTRIBUTE_UNUSED, in JitCompile()
81 jit::JitLogger* jit_logger ATTRIBUTE_UNUSED) in JitCompile()
/art/runtime/interpreter/mterp/
Dmterp.cc279 jit::Jit* jit = Runtime::Current()->GetJit(); in MterpInvokeVirtualQuick() local
280 if (jit != nullptr) { in MterpInvokeVirtualQuick()
281 jit->InvokeVirtualOrInterface( in MterpInvokeVirtualQuick()
283 jit->AddSamples(self, shadow_frame->GetMethod(), 1, /*with_backedges*/false); in MterpInvokeVirtualQuick()
903 int32_t countdown_value = jit::kJitHotnessDisabled; in MterpSetUpHotnessCountdown()
904 jit::Jit* jit = Runtime::Current()->GetJit(); in MterpSetUpHotnessCountdown() local
905 if (jit != nullptr) { in MterpSetUpHotnessCountdown()
906 int32_t warm_threshold = jit->WarmMethodThreshold(); in MterpSetUpHotnessCountdown()
907 int32_t hot_threshold = jit->HotMethodThreshold(); in MterpSetUpHotnessCountdown()
908 int32_t osr_threshold = jit->OSRMethodThreshold(); in MterpSetUpHotnessCountdown()
[all …]
/art/compiler/jit/
Djit_compiler.cc41 namespace jit { namespace
48 VLOG(jit) << "loading jit compiler"; in jit_load()
52 VLOG(jit) << "Done loading jit compiler"; in jit_load()
178 TimingLogger logger("JIT compiler timing logger", true, VLOG_IS_ON(jit)); in CompileMethod()
Djit_compiler.h31 namespace jit {
Djit_logger.h29 namespace jit {
/art/test/
DAndroid.run-test.mk149 ifeq ($(3),jit)
167 COMPILER_TYPES := jit interpreter optimizing regalloc_gc jit interp-ac speed-profile
/art/runtime/
Dart_method.cc641 jit::Jit* jit = runtime->GetJit(); in GetOatQuickMethodHeader() local
642 if (jit != nullptr) { in GetOatQuickMethodHeader()
643 jit::JitCodeCache* code_cache = jit->GetCodeCache(); in GetOatQuickMethodHeader()
718 jit::Jit* jit = runtime->GetJit(); in HasAnyCompiledCode() local
719 if (jit != nullptr && jit->GetCodeCache()->ContainsMethod(this)) { in HasAnyCompiledCode()
DAndroid.bp19 // new jit code is generated. We don't want it to be called when a different function with the same
124 "jit/debugger_interface.cc",
125 "jit/jit.cc",
126 "jit/jit_code_cache.cc",
127 "jit/profile_compilation_info.cc",
128 "jit/profiling_info.cc",
129 "jit/profile_saver.cc",
585 "jit/profile_compilation_info_test.cc",
Druntime.h50 namespace jit {
433 jit::Jit* GetJit() const { in GetJit()
561 jit::JitOptions* GetJITOptions() { in GetJITOptions()
795 std::unique_ptr<jit::Jit> jit_;
796 std::unique_ptr<jit::JitOptions> jit_options_;
/art/runtime/base/
Dlogging.h45 bool jit; member

12