Lines Matching refs:runtime
44 #include "runtime.h"
201 !Runtime::Current()->GetInstrumentation()->AreExitStubsInstalled());
211 jit->DumpTypeInfoForLoadedTypes(Runtime::Current()->GetClassLinker());
250 DCHECK(Runtime::Current()->UseJitCompilation());
253 RuntimeCallbacks* cb = Runtime::Current()->GetRuntimeCallbacks();
257 << " due to not being safe to jit according to runtime-callbacks. For example, there"
263 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation();
306 DCHECK(Runtime::Current()->IsShuttingDown(self));
353 Runtime::Current()->DumpDeoptimizations(LOG_STREAM(INFO));
367 if (!Runtime::Current()->UseJitCompilation()) {
371 jit::Jit* jit = Runtime::Current()->GetJit();
412 Jit* jit = Runtime::Current()->GetJit();
468 if (Runtime::Current()->GetRuntimeCallbacks()->IsMethodBeingInspected(method)) {
589 Runtime::Current()->GetJit()->CompileMethod(
623 Runtime* runtime = Runtime::Current();
625 for (const std::string& option : runtime->GetImageCompilerOptions()) {
633 runtime->GetClassLinker()->GetBootClassPath();
637 runtime->GetJit()->CompileMethodsFromProfile(
661 ClassLinker* class_linker = Runtime::Current()->GetClassLinker();
677 Runtime::Current()->GetJit()->CompileMethodsFromProfile(
709 Runtime* runtime = Runtime::Current();
710 if (runtime->IsZygote() && runtime->IsUsingApexBootImageLocation() && UseJitCompilation()) {
720 Runtime* runtime = Runtime::Current();
721 if (runtime->IsSystemServer() && runtime->IsUsingApexBootImageLocation() && UseJitCompilation()) {
756 ClassLinker* class_linker = Runtime::Current()->GetClassLinker();
759 // The runtime module jars are already preopted.
846 DCHECK(Runtime::Current()->IsShuttingDown(self) ||
847 !Runtime::Current()->IsFinishedStarting() ||
848 Runtime::Current()->IsSafeMode());
876 DCHECK(Runtime::Current()->IsShuttingDown(self));
891 Runtime::Current()->IsUsingApexBootImageLocation()) {
934 Runtime* runtime = Runtime::Current();
935 if (UNLIKELY(runtime->UseJitCompilation() && runtime->GetJit()->JitAtFirstUse())) {
943 // Fake being in a runtime thread so that class-load behavior will be the same as normal jit.
957 Runtime::Current()->GetInstrumentation()->UpdateMethodsCode(
995 jit::Jit* jit = Runtime::Current()->GetJit();
1004 DCHECK(Runtime::Current()->GetJit() != nullptr);
1005 DCHECK(Runtime::Current()->GetJit()->GetThreadPool() != nullptr);
1006 Runtime::Current()->GetJit()->Start();
1018 if (Runtime::Current()->IsSafeMode()) {
1029 !Runtime::Current()->GetInstrumentation()->AreExitStubsInstalled());
1037 } else if (Runtime::Current()->IsUsingApexBootImageLocation() && UseJitCompilation()) {