Lines Matching refs:runtime

116   Runtime* const runtime = Runtime::Current();  in CollectNonDebuggableClasses()  local
128 runtime->GetThreadList()->ForEach(DoCollectNonDebuggableCallback, &classes); in CollectNonDebuggableClasses()
163 Runtime* const runtime = Runtime::Current(); in EnableDebugFeatures() local
165 JavaVMExt* vm = runtime->GetJavaVM(); in EnableDebugFeatures()
188 runtime->AddCompilerOption("--compiler-filter=quicken"); in EnableDebugFeatures()
189 runtime->SetSafeMode(true); in EnableDebugFeatures()
197 jit::JitOptions* jit_options = runtime->GetJITOptions(); in EnableDebugFeatures()
207 runtime->AddCompilerOption("--debuggable"); in EnableDebugFeatures()
209 runtime->SetJavaDebuggable(true); in EnableDebugFeatures()
213 runtime->DeoptimizeBootImage(); in EnableDebugFeatures()
223 runtime->AddCompilerOption("--debuggable"); in EnableDebugFeatures()
225 runtime->SetNativeDebuggable(true); in EnableDebugFeatures()
231 runtime->AddCompilerOption("--generate-mini-debug-info"); in EnableDebugFeatures()
237 runtime->AddCompilerOption("--generate-debug-info"); in EnableDebugFeatures()
242 runtime->SetSignalHookDebuggable(true); in EnableDebugFeatures()
246 runtime->SetProfileableFromShell((runtime_flags & PROFILE_FROM_SHELL) != 0); in EnableDebugFeatures()
253 Runtime* runtime = Runtime::Current(); in ZygoteHooks_nativePreFork() local
254 CHECK(runtime->IsZygote()) << "runtime instance not started with -Xzygote"; in ZygoteHooks_nativePreFork()
256 runtime->PreZygoteFork(); in ZygoteHooks_nativePreFork()
306 Runtime* runtime = Runtime::Current(); in ZygoteHooks_nativePostForkChild() local
309 runtime->DisableVerifier(); in ZygoteHooks_nativePostForkChild()
314 runtime->GetOatFileManager().SetOnlyUseSystemOatFiles(); in ZygoteHooks_nativePostForkChild()
323 runtime->SetTestApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kDisabled); in ZygoteHooks_nativePostForkChild()
325 runtime->SetTestApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in ZygoteHooks_nativePostForkChild()
332 runtime->SetLoadAppImageStartupCacheEnabled( in ZygoteHooks_nativePostForkChild()
340 runtime->GetHeap()->PostForkChildAction(thread); in ZygoteHooks_nativePostForkChild()
341 if (runtime->GetJit() != nullptr) { in ZygoteHooks_nativePostForkChild()
344 runtime->GetJit()->GetCodeCache()->PostForkChildAction( in ZygoteHooks_nativePostForkChild()
348 runtime->GetJit()->PostForkChildAction(is_system_server, is_zygote); in ZygoteHooks_nativePostForkChild()
398 runtime->SetHiddenApiEnforcementPolicy(api_enforcement_policy); in ZygoteHooks_nativePostForkChild()
399 runtime->SetDedupeHiddenApiWarnings(true); in ZygoteHooks_nativePostForkChild()
401 runtime->GetHiddenApiEventLogSampleRate() != 0) { in ZygoteHooks_nativePostForkChild()
415 runtime->InitNonZygoteOrPostFork(env, is_system_server, is_zygote, action, isa_string.c_str()); in ZygoteHooks_nativePostForkChild()
417 runtime->InitNonZygoteOrPostFork( in ZygoteHooks_nativePostForkChild()