Lines Matching refs:runtime
74 return !art::Runtime::Current()->IsJavaDebuggable() ||
105 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks();
113 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks();
161 art::Runtime::Current()->GetThreadList()->ForEach(func, &dtdc);
168 art::Runtime* runtime = art::Runtime::Current();
170 if (!runtime->IsJavaDebuggable()) {
175 LOG(INFO) << "Openjdkjvmti plugin loaded on a non-debuggable runtime. Changing runtime to "
178 DCHECK(runtime->GetJit() == nullptr) << "Jit should not be running yet!";
179 runtime->AddCompilerOption("--debuggable");
180 runtime->SetJavaDebuggable(true);
182 LOG(WARNING) << "Openjdkjvmti plugin was loaded on a non-debuggable Runtime. Plugin was "
183 << "loaded too late to change runtime state to DEBUGGABLE. Only kArtTiVersion "
186 if (runtime->GetJit() == nullptr &&
187 runtime->GetJITOptions()->UseJitCompilation() &&
188 !runtime->GetInstrumentation()->IsForcedInterpretOnly()) {
192 // OnLoad since the runtime hasn't started up sufficiently. This is only expected to happen
197 runtime->CreateJitCodeCache(/*rwx_memory_allowed=*/true);
198 runtime->CreateJit();
199 if (runtime->GetJit() == nullptr) {
206 runtime->DeoptimizeBootImage();
262 auto instrumentation = art::Runtime::Current()->GetInstrumentation();
298 auto instrumentation = art::Runtime::Current()->GetInstrumentation();
347 art::Runtime::Current()->GetThreadList()->SuspendAll("JMVTI Deoptimizing methods",
357 art::Runtime::Current()->GetThreadList()->ResumeAll();
392 art::Runtime::Current()->GetInstrumentation()->Deoptimize(method);
397 art::Runtime::Current()->GetInstrumentation()->Undeoptimize(method);
402 art::Runtime::Current()->GetInstrumentation()->DeoptimizeEverything(
408 art::Runtime::Current()->GetInstrumentation()->UndeoptimizeEverything(
462 art::Runtime::Current()->GetInstrumentation()->DisableDeoptimization("");
477 art::Runtime::Current()->GetInstrumentation();
493 art::Runtime::Current()->GetInstrumentation()->InstrumentThreadStack(target);