Searched defs:runtime (Results 1 - 25 of 64) sorted by relevance

123

/art/runtime/mirror/
H A Ddex_cache_test.cc53 Runtime* const runtime = Runtime::Current(); local
54 ClassLinker* const class_linker = runtime->GetClassLinker();
61 EXPECT_NE(linear_alloc, runtime->GetLinearAlloc());
69 Runtime* const runtime = Runtime::Current(); local
70 ClassLinker* const class_linker = runtime->GetClassLinker();
H A Ddex_cache.cc28 #include "runtime.h"
63 Runtime* const runtime = Runtime::Current(); local
64 if (runtime->HasResolutionMethod()) {
66 Fixup(runtime->GetResolutionMethod(), pointer_size);
H A Dobject.cc34 #include "runtime.h"
205 Runtime* runtime = Runtime::Current(); local
206 if (runtime->GetClassLinker() == nullptr || !runtime->IsStarted() ||
207 !runtime->GetHeap()->IsObjectValidationEnabled() || !c->IsResolved()) {
/art/runtime/native/
H A Djava_lang_reflect_Array.cc57 Runtime* runtime = Runtime::Current(); local
58 ClassLinker* class_linker = runtime->GetClassLinker();
66 soa.Self(), array_class, length, runtime->GetHeap()->GetCurrentAllocator());
H A Ddalvik_system_ZygoteHooks.cc82 Runtime* const runtime = Runtime::Current(); local
84 JavaVMExt* vm = runtime->GetJavaVM();
110 runtime->AddCompilerOption("--compiler-filter=interpret-only");
111 runtime->SetSafeMode(true);
117 runtime->AddCompilerOption("--generate-debug-info");
125 jit::JitOptions* jit_options = runtime->GetJITOptions();
132 runtime->AddCompilerOption("--debuggable");
133 runtime->AddCompilerOption("--generate-debug-info");
134 runtime->SetNativeDebuggable(true);
144 Runtime* runtime local
[all...]
H A Djava_lang_Thread.cc51 Runtime* runtime = Runtime::Current(); local
52 if (runtime->IsZygote() && runtime->IsZygoteNoThreadSection()) {
/art/runtime/
H A Druntime_android.cc44 Runtime* runtime = Runtime::Current(); local
45 if (runtime != nullptr) {
47 LOG(INTERNAL_FATAL) << "Fault message: " << runtime->GetFaultMessage();
48 gc::Heap* heap = runtime->GetHeap();
H A Dscoped_thread_state_change.h42 Runtime* runtime = Runtime::Current(); local
43 CHECK(runtime == nullptr || !runtime->IsStarted() || runtime->IsShuttingDown(self_));
65 Runtime* runtime = Runtime::Current(); variable
66 bool shutting_down = (runtime == nullptr) || runtime->IsShuttingDown(nullptr);
H A DAndroid.mk177 runtime.cc \
374 runtime.h \
414 define build-runtime-library
611 $(eval $(call build-runtime-library,host,ndebug,shared,libart))
612 $(eval $(call build-runtime-library,host,ndebug,shared,libopenjdkjvm))
614 $(eval $(call build-runtime-library,host,ndebug,static,libart))
615 $(eval $(call build-runtime-library,host,ndebug,static,libopenjdkjvm))
619 $(eval $(call build-runtime-library,host,debug,shared,libart))
620 $(eval $(call build-runtime-library,host,debug,shared,libopenjdkjvm))
622 $(eval $(call build-runtime
[all...]
H A Dclass_table.cc24 Runtime* const runtime = Runtime::Current(); local
25 classes_.push_back(ClassSet(runtime->GetHashTableMinLoadFactor(),
26 runtime->GetHashTableMaxLoadFactor()));
H A Druntime_linux.cc17 #include "runtime.h"
48 // Stores the context of the signal that was unexpected and will terminate the runtime. The
350 Runtime* runtime = Runtime::Current(); local
351 if (runtime != nullptr) {
356 runtime->GetThreadList()->Dump(LOG(INTERNAL_FATAL), kDumpNativeStackOnTimeout);
358 gc::Heap* heap = runtime->GetHeap();
359 LOG(INTERNAL_FATAL) << "Fault message: " << runtime->GetFaultMessage();
H A Dsignal_catcher.cc36 #include "runtime.h"
74 // Create a raw pthread; its start routine will attach to the runtime.
129 Runtime* runtime = Runtime::Current(); local
138 std::string fingerprint = runtime->GetFingerprint();
140 os << "ABI: '" << GetInstructionSetString(runtime->GetInstructionSet()) << "'\n";
144 runtime->DumpForSigQuit(os);
185 Runtime* runtime = Runtime::Current(); local
186 CHECK(runtime->AttachCurrentThread("Signal Catcher", true, runtime->GetSystemThreadGroup(),
187 !runtime
[all...]
H A Dinstrumentation_test.cc26 #include "runtime.h"
208 Runtime* runtime = Runtime::Current(); local
209 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation();
224 Runtime* runtime = Runtime::Current(); local
225 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation();
239 Runtime* runtime = Runtime::Current(); local
240 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation();
254 Runtime* runtime = Runtime::Current(); local
255 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation();
269 Runtime* runtime local
281 Runtime* runtime = Runtime::Current(); local
456 Runtime* const runtime = Runtime::Current(); local
485 Runtime* const runtime = Runtime::Current(); local
503 Runtime* const runtime = Runtime::Current(); local
549 Runtime* const runtime = Runtime::Current(); local
568 Runtime* const runtime = Runtime::Current(); local
[all...]
H A Dreference_table.cc27 #include "runtime-inl.h"
133 Runtime* runtime = Runtime::Current(); local
134 DCHECK(!runtime->IsClearedJniWeakGlobal(obj1));
135 DCHECK(!runtime->IsClearedJniWeakGlobal(obj2));
164 Runtime* runtime = Runtime::Current(); local
170 if (runtime->IsClearedJniWeakGlobal(ref)) {
209 if (!root.IsNull() && !runtime->IsClearedJniWeakGlobal(root.Read())) {
H A Dthread_pool.cc29 #include "runtime.h"
86 Runtime* runtime = Runtime::Current(); local
87 CHECK(runtime->AttachCurrentThread(worker->name_.c_str(),
95 runtime->DetachCurrentThread();
/art/test/004-NativeAllocations/src/
H A DMain.java25 static Object runtime; field in class:Main
35 register_native_allocation.invoke(runtime, bytes);
50 register_native_free.invoke(runtime, bytes);
60 runtime = get_runtime.invoke(null);
/art/runtime/arch/
H A Darch_test.cc31 // Use 64-bit ISA for runtime setup to make method size potentially larger
45 Runtime* const runtime = Runtime::Current(); variable
49 runtime->SetInstructionSet(isa);
50 ArtMethod* save_method = runtime->CreateCalleeSaveMethod();
51 runtime->SetCalleeSaveMethod(save_method, type);
52 QuickMethodFrameInfo frame_info = runtime->GetRuntimeMethodFrameInfo(save_method);
/art/compiler/jit/
H A Djit_compiler.cc207 Runtime* runtime = Runtime::Current(); local
211 if (!runtime->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) {
220 JitCodeCache* const code_cache = runtime->GetJit()->GetCodeCache();
242 runtime->GetJitArenaPool()->TrimMaps();
245 runtime->GetJit()->AddTimingLogger(logger);
/art/compiler/optimizing/
H A Dsharpening.cc31 #include "runtime.h"
167 Runtime* runtime = Runtime::Current(); local
168 ClassLinker* class_linker = runtime->GetClassLinker();
177 DCHECK(!runtime->UseJitCompilation());
190 } else if (runtime->UseJitCompilation()) {
195 if (string != nullptr && runtime->GetHeap()->ObjectIsInBootImageSpace(string)) {
210 if (string != nullptr && runtime->GetHeap()->ObjectIsInBootImageSpace(string)) {
/art/runtime/base/
H A Dmutex-inl.h26 #include "runtime.h"
62 Runtime* runtime = Runtime::Current(); variable
63 CHECK(runtime == nullptr || !runtime->IsStarted() || runtime->IsShuttingDownLocked() ||
64 // Used during thread creation to avoid races with runtime shutdown. Thread::Current not
/art/test/005-annotations/src/android/test/anno/
H A DTestAnnotations.java166 Object runtime = VMRuntime.getRuntime();
167 int currentSdkVersion = VMRuntime.getTargetSdkVersion(runtime);
170 VMRuntime.setTargetSdkVersion(runtime, oldSdkVersion);
171 // This annotation has CLASS retention, but is visible to the runtime in M and earlier.
177 VMRuntime.setTargetSdkVersion(runtime, currentSdkVersion);
249 // Test if annotations marked VISIBILITY_BUILD are visible to runtime in M and earlier.
291 public static int getTargetSdkVersion(Object runtime) throws Exception { argument
292 return (int) getTargetSdkVersionMethod.invoke(runtime);
295 public static void setTargetSdkVersion(Object runtime, int version) throws Exception { argument
296 setTargetSdkVersionMethod.invoke(runtime, versio
[all...]
/art/dex2oat/
H A Ddex2oat_test.cc56 args.push_back("--runtime-arg");
104 Runtime* runtime = Runtime::Current(); local
107 runtime->GetHeap()->GetBootImageSpaces();
115 argv.push_back(runtime->GetCompilerExecutable());
116 argv.push_back("--runtime-arg");
118 argv.push_back("--runtime-arg");
119 std::string class_path = runtime->GetClassPathString();
124 if (runtime->IsDebuggable()) {
127 runtime->AddCurrentRuntimeFeaturesAsDex2OatArguments(&argv);
129 if (!runtime
[all...]
/art/runtime/gc/accounting/
H A Dmod_union_table_test.cc179 Runtime* const runtime = Runtime::Current(); local
180 gc::Heap* const heap = runtime->GetHeap();
/art/runtime/interpreter/
H A Dunstarted_runtime_test.cc32 #include "runtime.h"
86 Runtime* runtime = Runtime::Current(); local
87 mirror::Class* array_type = runtime->GetClassLinker()->FindArrayClass(self, &component_type);
/art/runtime/jdwp/
H A Djdwp_main.cc442 Runtime* runtime = Runtime::Current(); local
443 CHECK(runtime->AttachCurrentThread("JDWP", true, runtime->GetSystemThreadGroup(),
444 !runtime->IsAotCompiler()));
549 // Tell the rest of the runtime that the debugger is no longer around.
566 runtime->DetachCurrentThread();

Completed in 7359 milliseconds

123