Home | History | Annotate | Download | only in interpreter

Lines Matching refs:runtime

77   if (Runtime::Current()->IsActiveTransaction()) {
128 // Helper function to deal with class loading in an unstarted runtime.
136 ClassLinker* class_linker = Runtime::Current()->GetClassLinker();
141 AbortTransactionOrFail(self, "%s failed in un-started runtime for class: %s",
158 // Common helper for class-loading cutouts in an unstarted runtime. We call Runtime methods that
293 if (Runtime::Current()->IsActiveTransaction()) {
303 // 2) If we can't find the default constructor. We'll postpone the exception to runtime.
306 auto* cl = Runtime::Current()->GetClassLinker();
335 // Special managed code cut-out to allow field lookup in a un-started runtime that'd fail
359 " runtime. name=%s class=%s", name2->ToModifiedUtf8().c_str(),
363 Runtime* runtime = Runtime::Current();
364 PointerSize pointer_size = runtime->GetClassLinker()->GetImagePointerSize();
366 if (runtime->IsActiveTransaction()) {
389 // Special managed code cut-out to allow method lookup in a un-started runtime.
398 Runtime* runtime = Runtime::Current();
399 bool transaction = runtime->IsActiveTransaction();
400 PointerSize pointer_size = runtime->GetClassLinker()->GetImagePointerSize();
426 // Special managed code cut-out to allow constructor lookup in a un-started runtime.
436 Runtime* runtime = Runtime::Current();
437 bool transaction = runtime->IsActiveTransaction();
438 PointerSize pointer_size = runtime->GetClassLinker()->GetImagePointerSize();
581 Runtime* runtime = Runtime::Current();
583 const std::vector<std::string>& boot_class_path = Runtime::Current()->GetBootClassPath();
601 // Didn't find it. There's a good chance this will be the same at runtime, but still
625 runtime->GetClassLinker()->FindClass(self,
632 if (!runtime->GetClassLinker()->EnsureInitialized(self, h_class, true, true)) {
643 auto* cl = Runtime::Current()->GetClassLinker();
710 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, c, true, true)) {
878 if (Runtime::Current()->IsActiveTransaction()) {
943 ClassLinker* class_linker = Runtime::Current()->GetClassLinker();
1046 ClassLinker* class_linker = Runtime::Current()->GetClassLinker();
1101 Runtime::Current()->InitThreadGroups(self);
1106 Runtime::Current()->GetMainThreadGroup());
1251 Runtime::Current()->AbortTransactionAndThrowAbortError(self, "Null pointer in peekArray");
1261 Runtime::Current()->AbortTransactionAndThrowAbortError(self, error_msg.c_str());
1359 Runtime* runtime = Runtime::Current();
1360 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentAllocator();
1374 Runtime* runtime = Runtime::Current();
1375 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentAllocator();
1391 Runtime* runtime = Runtime::Current();
1392 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentAllocator();
1418 Runtime::Current()->GetHeap()->GetReferenceProcessor()->GetReferent(self, ref);
1452 AbortTransactionOrFail(self, "Cannot access null object, retry at runtime.");
1460 if (Runtime::Current()->IsActiveTransaction()) {
1477 AbortTransactionOrFail(self, "Cannot access null object, retry at runtime.");
1502 if (Runtime::Current()->IsActiveTransaction()) {
1524 AbortTransactionOrFail(self, "Cannot access null object, retry at runtime.");
1538 AbortTransactionOrFail(self, "Cannot access null object, retry at runtime.");
1543 if (Runtime::Current()->IsActiveTransaction()) {
1556 AbortTransactionOrFail(self, "Cannot access null object, retry at runtime.");
1562 if (Runtime::Current()->IsActiveTransaction()) {
1576 AbortTransactionOrFail(self, "Cannot parse null string, retry at runtime.");
1582 AbortTransactionOrFail(self, "Cannot parse empty string, retry at runtime.");
1594 AbortTransactionOrFail(self, "Cannot parse string %s, retry at runtime.", c_str);
1600 AbortTransactionOrFail(self, "Cannot parse string %s, retry at runtime.", c_str);
1604 AbortTransactionOrFail(self, "Cannot parse string %s, retry at runtime.", c_str);
1620 AbortTransactionOrFail(self, "Cannot parse null string, retry at runtime.");
1626 AbortTransactionOrFail(self, "Cannot parse empty string, retry at runtime.");
1639 AbortTransactionOrFail(self, "Cannot parse string %s, retry at runtime.", c_str);
1645 AbortTransactionOrFail(self, "Cannot parse string %s, retry at runtime.", c_str);
1649 AbortTransactionOrFail(self, "Cannot parse string %s, retry at runtime.", c_str);
1693 // Checks whether the runtime is s64-bit. This is needed for the clinit of
1700 PointerSize pointer_size = Runtime::Current()->GetClassLinker()->GetImagePointerSize();
1718 Runtime* runtime = Runtime::Current();
1720 runtime->GetClassLinker()->FindArrayClass(self, element_class->AsClass());
1722 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentAllocator();
1768 result->SetZ(QuasiAtomic::LongAtomicsUseMutexes(Runtime::Current()->GetInstructionSet())
1848 Runtime* runtime = Runtime::Current();
1849 ClassLinker* class_linker = runtime->GetClassLinker();
1857 self, array_class, length, runtime->GetHeap()->GetCurrentAllocator());
1865 if (Runtime::Current()->IsActiveTransaction()) {
1893 if (Runtime::Current()->IsActiveTransaction()) {
1936 if (Runtime::Current()->IsActiveTransaction()) {
2019 // In a runtime that's not started we intercept certain methods to avoid complicated dependency
2041 // Hand select a number of methods to be run in a not yet started runtime without using JNI.
2050 } else if (Runtime::Current()->IsActiveTransaction()) {
2051 AbortTransactionF(self, "Attempt to invoke native method in non-started runtime: %s",
2055 "non-transactional runtime";