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

12

/art/runtime/entrypoints/quick/
H A Dquick_instrumentation_entrypoints.cc22 #include "runtime.h"
60 Runtime* runtime = Runtime::Current(); local
61 sp->Assign(runtime->GetCalleeSaveMethod(Runtime::kRefsOnly));
/art/runtime/mirror/
H A Ddex_cache.cc28 #include "runtime.h"
54 Runtime* runtime = Runtime::Current(); local
55 if (runtime->HasResolutionMethod()) {
57 ArtMethod* trampoline = runtime->GetResolutionMethod();
H A Dart_method.cc280 Runtime* runtime = Runtime::Current(); local
282 if (UNLIKELY(!runtime->IsStarted())) {
H A Dobject.cc34 #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 Djava_lang_reflect_Array.cc54 Runtime* runtime = Runtime::Current(); local
55 ClassLinker* class_linker = runtime->GetClassLinker();
64 runtime->GetHeap()->GetCurrentAllocator());
H A Ddalvik_system_ZygoteHooks.cc62 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 Druntime_android.cc45 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 Dscoped_thread_state_change.h40 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 Djni_internal.h61 JavaVMExt(Runtime* runtime, ParsedOptions* options);
102 Runtime* runtime; member in class:art::JavaVMExt
H A Druntime_linux.cc17 #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 Dsignal_catcher.cc33 #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 Dintern_table.cc100 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 Dthread_pool.cc21 #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 Dthread_list.cc167 Runtime* runtime = Runtime::Current(); local
172 runtime->GetThreadList()->DumpLocked(ss);
/art/test/004-NativeAllocations/src/
H A DMain.java23 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 Dmutex-inl.h29 #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 Dinterpreter.cc26 // 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 Dinterpreter_goto_table_impl.cc537 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 Dinterpreter_switch_impl.cc450 Runtime* runtime = Runtime::Current(); local
453 runtime->GetHeap()->GetCurrentAllocator());
459 // be finalized without a started runtime.
H A Dinterpreter_common.cc554 // 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 Djdwp_main.cc408 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 DMain.java816 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 Dmark_compact.cc47 #include "runtime.h"
340 Runtime* runtime = Runtime::Current(); local
342 runtime->VisitRoots(UpdateRootCallback, this);
369 runtime->SweepSystemWeaks(&MarkedForwardingAddressCallback, this);
H A Dsemi_space.cc46 #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 Dimage_space.cc708 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),

Completed in 2996 milliseconds

12