Lines Matching refs:runtime
116 Runtime* const runtime = Runtime::Current(); in CollectNonDebuggableClasses() local
128 runtime->GetThreadList()->ForEach(DoCollectNonDebuggableCallback, &classes); in CollectNonDebuggableClasses()
164 Runtime* const runtime = Runtime::Current(); in EnableDebugFeatures() local
166 JavaVMExt* vm = runtime->GetJavaVM(); in EnableDebugFeatures()
189 runtime->AddCompilerOption("--compiler-filter=quicken"); in EnableDebugFeatures()
190 runtime->SetSafeMode(true); in EnableDebugFeatures()
198 jit::JitOptions* jit_options = runtime->GetJITOptions(); in EnableDebugFeatures()
208 runtime->AddCompilerOption("--debuggable"); in EnableDebugFeatures()
210 runtime->SetJavaDebuggable(true); in EnableDebugFeatures()
214 runtime->DeoptimizeBootImage(); in EnableDebugFeatures()
224 runtime->AddCompilerOption("--debuggable"); in EnableDebugFeatures()
226 runtime->SetNativeDebuggable(true); in EnableDebugFeatures()
232 runtime->AddCompilerOption("--generate-mini-debug-info"); in EnableDebugFeatures()
238 runtime->AddCompilerOption("--generate-debug-info"); in EnableDebugFeatures()
243 runtime->SetSignalHookDebuggable(true); in EnableDebugFeatures()
247 runtime->SetProfileableFromShell((runtime_flags & PROFILE_FROM_SHELL) != 0); in EnableDebugFeatures()
249 runtime->SetProfileable((runtime_flags & PROFILEABLE) != 0); in EnableDebugFeatures()
256 Runtime* runtime = Runtime::Current(); in ZygoteHooks_nativePreFork() local
257 CHECK(runtime->IsZygote()) << "runtime instance not started with -Xzygote"; in ZygoteHooks_nativePreFork()
259 runtime->PreZygoteFork(); in ZygoteHooks_nativePreFork()
314 Runtime* runtime = Runtime::Current(); in ZygoteHooks_nativePostForkChild() local
317 runtime->DisableVerifier(); in ZygoteHooks_nativePostForkChild()
322 runtime->GetOatFileManager().SetOnlyUseTrustedOatFiles(); in ZygoteHooks_nativePostForkChild()
331 runtime->SetTestApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kDisabled); in ZygoteHooks_nativePostForkChild()
333 runtime->SetTestApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in ZygoteHooks_nativePostForkChild()
340 runtime->SetLoadAppImageStartupCacheEnabled( in ZygoteHooks_nativePostForkChild()
348 runtime->GetHeap()->PostForkChildAction(thread); in ZygoteHooks_nativePostForkChild()
349 if (runtime->GetJit() != nullptr) { in ZygoteHooks_nativePostForkChild()
352 runtime->GetJit()->GetCodeCache()->PostForkChildAction( in ZygoteHooks_nativePostForkChild()
356 runtime->GetJit()->PostForkChildAction(is_system_server, is_zygote); in ZygoteHooks_nativePostForkChild()
406 runtime->SetHiddenApiEnforcementPolicy(api_enforcement_policy); in ZygoteHooks_nativePostForkChild()
407 runtime->SetDedupeHiddenApiWarnings(true); in ZygoteHooks_nativePostForkChild()
409 runtime->GetHiddenApiEventLogSampleRate() != 0) { in ZygoteHooks_nativePostForkChild()
423 runtime->InitNonZygoteOrPostFork(env, is_system_server, is_zygote, action, isa_string.c_str()); in ZygoteHooks_nativePostForkChild()
425 runtime->InitNonZygoteOrPostFork( in ZygoteHooks_nativePostForkChild()