Searched refs:jit (Results 1 - 25 of 39) sorted by relevance

12

/art/test/141-class-unload/
H A Djni_unload.cc21 #include "jit/jit.h"
29 jit::Jit* jit = Runtime::Current()->GetJit(); local
30 if (jit != nullptr) {
31 jit->WaitForCompilationToFinish(Thread::Current());
/art/test/566-polymorphic-inlining/
H A Dpolymorphic_inline.cc18 #include "jit/jit.h"
19 #include "jit/jit_code_cache.h"
29 jit::Jit* jit = Runtime::Current()->GetJit(); local
30 jit::JitCodeCache* code_cache = jit->GetCodeCache();
51 jit::Jit* jit = Runtime::Current()->GetJit(); local
52 if (jit
[all...]
/art/runtime/jit/
H A Djit.cc17 #include "jit.h"
37 namespace jit { namespace in namespace:art
40 // At what priority to schedule jit threads. 9 is the lowest foreground priority on device.
157 std::unique_ptr<Jit> jit(new Jit);
158 jit->dump_info_on_shutdown_ = options->DumpJitInfoOnShutdown();
162 jit->code_cache_.reset(JitCodeCache::Create(
165 jit->generate_debug_info_,
167 if (jit->GetCodeCache() == nullptr) {
170 jit->use_jit_compilation_ = options->UseJitCompilation();
171 jit
362 jit::Jit* jit = Runtime::Current()->GetJit(); local
403 Jit* jit = Runtime::Current()->GetJit(); local
[all...]
H A Dprofile_saver.h32 jit::JitCodeCache* jit_code_cache,
65 jit::JitCodeCache* jit_code_cache,
77 // Processes the existing profiling info from the jit code cache and returns
115 jit::JitCodeCache* jit_code_cache_;
H A Dprofiling_info.h30 namespace jit { namespace in namespace:art
198 friend class jit::JitCodeCache;
H A Dprofiling_info.cc21 #include "jit/jit.h"
22 #include "jit/jit_code_cache.h"
84 jit::JitCodeCache* code_cache = Runtime::Current()->GetJit()->GetCodeCache();
H A Djit.h34 namespace jit { namespace in namespace:art
145 // into the specified class linker to the jit debug interface,
189 std::unique_ptr<jit::JitCodeCache> code_cache_;
271 } // namespace jit
H A Djit_code_cache.cc29 #include "jit/jit.h"
30 #include "jit/profiling_info.h"
38 namespace jit { namespace in namespace:art
52 PLOG(FATAL) << "Failed to mprotect jit code cache"; \
103 data_map->RemapAtEnd(divider, "jit-code-cache", kProtAll, &error_str, use_ashmem);
159 VLOG(jit) << "Created jit code cache: initial data size="
374 VLOG(jit)
539 if (!kIsDebugBuild || VLOG_IS_ON(jit)) {
[all...]
/art/test/570-checker-osr/
H A Dosr.cc18 #include "jit/jit.h"
19 #include "jit/jit_code_cache.h"
20 #include "jit/profiling_info.h"
62 jit::Jit* jit = Runtime::Current()->GetJit(); local
63 if (jit == nullptr) {
64 // Just return true for non-jit configurations to stop the infinite loop.
135 jit::Jit* jit local
[all...]
/art/test/common/
H A Druntime_state.cc21 #include "jit/jit.h"
22 #include "jit/jit_code_cache.h"
127 jit::Jit* jit = Runtime::Current()->GetJit(); local
128 if (jit == nullptr) {
140 jit::JitCodeCache* code_cache = jit->GetCodeCache();
152 jit->CompileMethod(method, soa.Self(), /* osr */ false);
/art/build/
H A DAndroid.oat.mk40 # $(1): compiler - default, optimizing, jit, interpreter or interpreter-access-checks.
72 ifeq ($(1),jit)
74 core_infix := -jit
79 ifneq ($(filter-out default interpreter interp-ac jit optimizing,$(1)),)
81 $$(error found $(1) expected default, interpreter, interpreter-access-checks, jit or optimizing)
151 # $(1): compiler - default, optimizing, jit, interpreter or interpreter-access-checks.
169 $(eval $(call create-core-oat-host-rule-combination,jit,,,false))
174 $(eval $(call create-core-oat-host-rule-combination,jit,,,true))
182 $(eval $(call create-core-oat-host-rule-combination,jit,valgrind,32,false))
214 ifeq ($(1),jit)
[all...]
/art/compiler/jit/
H A Djit_compiler.h31 namespace jit { namespace in namespace:art
67 } // namespace jit
H A Djit_compiler.cc29 #include "jit/debugger_interface.h"
30 #include "jit/jit.h"
31 #include "jit/jit_code_cache.h"
38 namespace jit { namespace in namespace:art
45 VLOG(jit) << "loading jit compiler";
49 VLOG(jit) << "Done loading jit compiler";
149 cumulative_logger_.reset(new CumulativeLogger("jit time
[all...]
/art/compiler/
H A Dcompiler.h25 namespace jit { namespace in namespace:art
63 jit::JitCodeCache* code_cache ATTRIBUTE_UNUSED,
/art/runtime/interpreter/mterp/
H A Dmterp.cc650 int32_t countdown_value = jit::kJitHotnessDisabled;
651 jit::Jit* jit = Runtime::Current()->GetJit(); local
652 if (jit != nullptr) {
653 int32_t warm_threshold = jit->WarmMethodThreshold();
654 int32_t hot_threshold = jit->HotMethodThreshold();
655 int32_t osr_threshold = jit->OSRMethodThreshold();
663 countdown_value = jit::kJitCheckForOSR;
665 if (jit::Jit::ShouldUsePriorityThreadWeight()) {
666 int32_t priority_thread_weight = jit
689 jit::Jit* jit = Runtime::Current()->GetJit(); local
703 jit::Jit* jit = Runtime::Current()->GetJit(); local
722 jit::Jit* jit = Runtime::Current()->GetJit(); local
[all...]
/art/
H A DAndroid.mk218 # All host tests that run solely on the jit.
219 .PHONY: test-art-host-jit
220 test-art-host-jit: test-art-host-run-test-jit
241 .PHONY: test-art-host-jit$(ART_PHONY_TEST_HOST_SUFFIX)
242 test-art-host-jit$(ART_PHONY_TEST_HOST_SUFFIX): test-art-host-run-test-jit$(ART_PHONY_TEST_HOST_SUFFIX)
264 .PHONY: test-art-host-jit$(2ND_ART_PHONY_TEST_HOST_SUFFIX)
265 test-art-host-jit$(2ND_ART_PHONY_TEST_HOST_SUFFIX): test-art-host-run-test-jit
[all...]
/art/runtime/
H A Dart_method.cc30 #include "jit/jit.h"
31 #include "jit/jit_code_cache.h"
32 #include "jit/profiling_info.h"
408 jit::Jit* jit = Runtime::Current()->GetJit(); local
409 if (jit != nullptr) {
410 jit::JitCodeCache* code_cache = jit->GetCodeCache();
468 jit local
[all...]
H A Druntime_options.def71 RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold, jit::Jit::kDefaultCompileThreshold)
76 RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity)
77 RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity)
H A Druntime.h53 namespace jit { namespace in namespace:art
56 } // namespace jit
450 jit::Jit* GetJit() {
583 jit::JitOptions* GetJITOptions() {
750 std::unique_ptr<jit::Jit> jit_;
751 std::unique_ptr<jit::JitOptions> jit_options_;
H A DAndroid.mk106 jit/debugger_interface.cc \
107 jit/jit.cc \
108 jit/jit_code_cache.cc \
109 jit/offline_profiling_info.cc \
110 jit/profiling_info.cc \
111 jit/profile_saver.cc \
236 # new jit code is generated. We don't want it to be called when a different function with the same
H A Dasm_support.h23 #include "jit/jit.h"
400 ADD_TEST_EQ(JIT_CHECK_OSR, static_cast<int32_t>(art::jit::kJitCheckForOSR))
403 ADD_TEST_EQ(JIT_HOTNESS_DISABLE, static_cast<int32_t>(art::jit::kJitHotnessDisabled))
/art/runtime/gc/accounting/
H A Dbitmap.cc21 #include "jit/jit_code_cache.h"
95 template class MemoryRangeBitmap<jit::kJitCodeAlignment>;
/art/runtime/interpreter/
H A Dinterpreter.cc29 #include "jit/jit.h"
30 #include "jit/jit_code_cache.h"
288 jit::Jit* jit = Runtime::Current()->GetJit(); local
289 if (jit != nullptr) {
290 jit->MethodEntered(self, shadow_frame.GetMethod());
291 if (jit->CanInvokeCompiledCode(method)) {
612 jit::Jit* jit local
[all...]
H A Dinterpreter_common.h37 #include "jit/jit.h"
646 jit::Jit* jit = Runtime::Current()->GetJit(); local
647 if (jit != nullptr) {
649 jit->InvokeVirtualOrInterface(
652 jit->AddSamples(self, sf_method, 1, /*with_backedges*/false);
694 jit::Jit* jit = Runtime::Current()->GetJit(); local
695 if (jit !
[all...]
/art/test/
H A DAndroid.run-test.mk112 COMPILER_TYPES += jit
289 # 554-jit-profile-file is disabled because it needs a primary oat file to know what it should save.
294 554-jit-profile-file \
313 554-jit-profile-file
384 # 554-jit-profile-file is disabled because it needs a primary oat file to know what it should save.
393 554-jit-profile-file
446 554-jit-profile-file
462 ifneq (,$(filter jit,$(COMPILER_TYPES)))
464 jit,$(RELOCATE_TYPES),$(TRACE_TYPES),$(GC_TYPES),$(JNI_TYPES), \
556 ifneq (,$(filter jit,
[all...]

Completed in 369 milliseconds

12