/art/runtime/entrypoints/quick/ |
H A D | quick_instrumentation_entrypoints.cc | 22 #include "runtime.h" 60 Runtime* runtime = Runtime::Current(); local 61 sp->Assign(runtime->GetCalleeSaveMethod(Runtime::kRefsOnly));
|
/art/runtime/mirror/ |
H A D | dex_cache.cc | 28 #include "runtime.h" 54 Runtime* runtime = Runtime::Current(); local 55 if (runtime->HasResolutionMethod()) { 57 ArtMethod* trampoline = runtime->GetResolutionMethod();
|
H A D | art_method.cc | 280 Runtime* runtime = Runtime::Current(); local 282 if (UNLIKELY(!runtime->IsStarted())) {
|
H A D | object.cc | 34 #include "runtime.h" 201 Runtime* runtime = Runtime::Current(); local 202 if (runtime->GetClassLinker() == nullptr || !runtime->IsStarted() || 203 !runtime->GetHeap()->IsObjectValidationEnabled() || !c->IsResolved()) {
|
/art/runtime/native/ |
H A D | java_lang_reflect_Array.cc | 54 Runtime* runtime = Runtime::Current(); local 55 ClassLinker* class_linker = runtime->GetClassLinker(); 64 runtime->GetHeap()->GetCurrentAllocator());
|
H A D | dalvik_system_ZygoteHooks.cc | 62 Runtime* runtime = Runtime::Current(); local 63 JavaVMExt* vm = runtime->GetJavaVM(); 88 Runtime* runtime = Runtime::Current(); local 89 runtime->AddCompilerOption("--compiler-filter=interpret-only"); 102 Runtime* runtime = Runtime::Current(); local 103 CHECK(runtime->IsZygote()) << "runtime instance not started with -Xzygote"; 105 runtime->PreZygoteFork();
|
/art/runtime/ |
H A D | runtime_android.cc | 45 Runtime* runtime = Runtime::Current(); local 46 if (runtime != nullptr) { 48 LOG(INTERNAL_FATAL) << "Fault message: " << runtime->GetFaultMessage(); 49 gc::Heap* heap = runtime->GetHeap();
|
H A D | scoped_thread_state_change.h | 40 Runtime* runtime = Runtime::Current(); local 41 CHECK(runtime == NULL || !runtime->IsStarted() || runtime->IsShuttingDown(self_)); 63 Runtime* runtime = Runtime::Current(); variable 64 bool shutting_down = (runtime == NULL) || runtime->IsShuttingDown(nullptr);
|
H A D | jni_internal.h | 61 JavaVMExt(Runtime* runtime, ParsedOptions* options); 102 Runtime* runtime; member in class:art::JavaVMExt
|
H A D | runtime_linux.cc | 17 #include "runtime.h" 310 Runtime* runtime = Runtime::Current(); local 311 if (runtime != nullptr) { 312 gc::Heap* heap = runtime->GetHeap(); 313 LOG(INTERNAL_FATAL) << "Fault message: " << runtime->GetFaultMessage();
|
H A D | signal_catcher.cc | 33 #include "runtime.h" 71 // Create a raw pthread; its start routine will attach to the runtime. 126 Runtime* runtime = Runtime::Current(); local 127 ThreadList* thread_list = runtime->GetThreadList(); 145 os << "ABI: " << GetInstructionSetString(runtime->GetInstructionSet()) << "\n"; 149 runtime->DumpForSigQuit(os); 198 Runtime* runtime = Runtime::Current(); local 199 CHECK(runtime->AttachCurrentThread("Signal Catcher", true, runtime->GetSystemThreadGroup(), 200 !runtime [all...] |
H A D | intern_table.cc | 100 Runtime* runtime = Runtime::Current(); local 101 if (runtime->IsActiveTransaction()) { 102 runtime->RecordStrongStringInsertion(s); 112 Runtime* runtime = Runtime::Current(); local 113 if (runtime->IsActiveTransaction()) { 114 runtime->RecordWeakStringInsertion(s); 125 Runtime* runtime = Runtime::Current(); local 126 if (runtime->IsActiveTransaction()) { 127 runtime->RecordWeakStringRemoval(s);
|
H A D | thread_pool.cc | 21 #include "runtime.h" 60 Runtime* runtime = Runtime::Current(); local 61 CHECK(runtime->AttachCurrentThread(worker->name_.c_str(), true, NULL, false)); 64 runtime->DetachCurrentThread();
|
H A D | thread_list.cc | 167 Runtime* runtime = Runtime::Current(); local 172 runtime->GetThreadList()->DumpLocked(ss);
|
/art/test/004-NativeAllocations/src/ |
H A D | Main.java | 23 static Object runtime; field in class:Main 33 register_native_allocation.invoke(runtime, bytes); 46 register_native_free.invoke(runtime, bytes); 53 runtime = get_runtime.invoke(null);
|
/art/runtime/base/ |
H A D | mutex-inl.h | 29 #include "runtime.h" 89 Runtime* runtime = Runtime::Current(); variable 90 CHECK(runtime == nullptr || !runtime->IsStarted() || runtime->IsShuttingDownLocked() || 91 // Used during thread creation to avoid races with runtime shutdown. Thread::Current not
|
/art/runtime/interpreter/ |
H A D | interpreter.cc | 26 // Hand select a number of methods to be run in a not yet started runtime without using JNI. 35 Runtime* runtime = Runtime::Current(); local 36 mirror::Class* array_class = runtime->GetClassLinker()->FindArrayClass(self, &element_class); 38 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentAllocator(); 123 AbortTransaction(self, "Attempt to invoke native method in non-started runtime: %s", 128 "non-transactional runtime";
|
H A D | interpreter_goto_table_impl.cc | 537 Runtime* runtime = Runtime::Current(); local 540 runtime->GetHeap()->GetCurrentAllocator()); 546 // finalized without a started runtime. 2426 Runtime* runtime = Runtime::Current(); \ 2427 const instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); \
|
H A D | interpreter_switch_impl.cc | 450 Runtime* runtime = Runtime::Current(); local 453 runtime->GetHeap()->GetCurrentAllocator()); 459 // be finalized without a started runtime.
|
H A D | interpreter_common.cc | 554 // We need to do runtime check on reference assignment. We need to load the shorty 726 Runtime* runtime = Runtime::Current(); variable 728 runtime->RecordWriteArray(array, i, array->GetWithoutChecks(i)); 766 // Helper function to deal with class loading in an unstarted runtime. 779 AbortTransaction(self, "%s failed in un-started runtime for class: %s", 798 // In a runtime that's not started we intercept certain methods to avoid complicated dependency 834 // Special managed code cut-out to allow field lookup in a un-started runtime that'd fail 856 << "Failed to find field in Class.getDeclaredField in un-started runtime. name="
|
/art/runtime/jdwp/ |
H A D | jdwp_main.cc | 408 Runtime* runtime = Runtime::Current(); local 409 CHECK(runtime->AttachCurrentThread("JDWP", true, runtime->GetSystemThreadGroup(), 410 !runtime->IsCompiler())); 516 // Tell the rest of the runtime that the debugger is no longer around. 533 runtime->DetachCurrentThread();
|
/art/test/082-inline-execute/src/ |
H A D | Main.java | 816 static Object runtime; field in class:Main 831 runtime = get_runtime.invoke(null); 847 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 2); 850 long address = (long)address_of.invoke(runtime, b); 856 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 3); 860 long address = (long)address_of.invoke(runtime, b); 866 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 5); 872 long address = (long)address_of.invoke(runtime, b); 878 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 9); 888 long address = (long)address_of.invoke(runtime, [all...] |
/art/runtime/gc/collector/ |
H A D | mark_compact.cc | 47 #include "runtime.h" 340 Runtime* runtime = Runtime::Current(); local 342 runtime->VisitRoots(UpdateRootCallback, this); 369 runtime->SweepSystemWeaks(&MarkedForwardingAddressCallback, this);
|
H A D | semi_space.cc | 46 #include "runtime.h" 168 // Store the stack traces into the runtime fault string in case we Get a heap corruption 172 Runtime* runtime = Runtime::Current(); local 173 runtime->GetThreadList()->DumpForSigQuit(oss); 174 runtime->GetThreadList()->DumpNativeStacks(oss); 175 runtime->SetFaultMessage(oss.str());
|
/art/runtime/gc/space/ |
H A D | image_space.cc | 708 Runtime* runtime = Runtime::Current(); local 709 runtime->SetInstructionSet(space->oat_file_->GetOatHeader().GetInstructionSet()); 712 runtime->SetResolutionMethod(down_cast<mirror::ArtMethod*>(resolution_method)); 714 runtime->SetImtConflictMethod(down_cast<mirror::ArtMethod*>(imt_conflict_method)); 717 runtime->SetImtUnimplementedMethod(down_cast<mirror::ArtMethod*>(imt_unimplemented_method)); 719 runtime->SetDefaultImt(down_cast<mirror::ObjectArray<mirror::ArtMethod>*>(default_imt)); 722 runtime->SetCalleeSaveMethod(down_cast<mirror::ArtMethod*>(callee_save_method), 725 runtime->SetCalleeSaveMethod(down_cast<mirror::ArtMethod*>(callee_save_method), 728 runtime->SetCalleeSaveMethod(down_cast<mirror::ArtMethod*>(callee_save_method),
|