Home
last modified time | relevance | path

Searched refs:runtime (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/art/test/2031-zygote-compiled-frame-deopt/
Dnative-wait.cc38 Runtime* runtime = Runtime::Current(); in Java_art_Test2031_simulateZygoteFork() local
39 bool has_jit = runtime->GetJit() != nullptr; in Java_art_Test2031_simulateZygoteFork()
41 runtime->GetJit()->PreZygoteFork(); in Java_art_Test2031_simulateZygoteFork()
43 runtime->SetAsZygoteChild(/*is_system_server=*/false, /*is_zygote=*/false); in Java_art_Test2031_simulateZygoteFork()
44 runtime->AddCompilerOption("--debuggable"); in Java_art_Test2031_simulateZygoteFork()
45 runtime->SetJavaDebuggable(true); in Java_art_Test2031_simulateZygoteFork()
49 runtime->DeoptimizeBootImage(); in Java_art_Test2031_simulateZygoteFork()
53 runtime->GetJitCodeCache()->PostForkChildAction(false, false); in Java_art_Test2031_simulateZygoteFork()
54 runtime->GetJit()->PostForkChildAction(false, false); in Java_art_Test2031_simulateZygoteFork()
56 runtime->GetJitCodeCache()->SetGarbageCollectCode(false); in Java_art_Test2031_simulateZygoteFork()
[all …]
Drun21 ./default-run "$@" --runtime-option -Xopaque-jni-ids:true --add-libdir-argument --runtime-option -X…
/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc116 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()
[all …]
/art/runtime/
Dscoped_disable_public_sdk_checker.h28 Runtime* runtime = Runtime::Current(); in ScopedDisablePublicSdkChecker() local
29 if (UNLIKELY(runtime->IsAotCompiler())) { in ScopedDisablePublicSdkChecker()
30 runtime->GetClassLinker()->SetEnablePublicSdkChecks(false); in ScopedDisablePublicSdkChecker()
35 Runtime* runtime = Runtime::Current(); in ~ScopedDisablePublicSdkChecker() local
36 if (UNLIKELY(runtime->IsAotCompiler())) { in ~ScopedDisablePublicSdkChecker()
37 runtime->GetClassLinker()->SetEnablePublicSdkChecks(true); in ~ScopedDisablePublicSdkChecker()
Dsignal_catcher.cc118 Runtime* runtime = Runtime::Current(); in HandleSigQuit() local
127 std::string fingerprint = runtime->GetFingerprint(); in HandleSigQuit()
129 os << "ABI: '" << GetInstructionSetString(runtime->GetInstructionSet()) << "'\n"; in HandleSigQuit()
133 runtime->DumpForSigQuit(os); in HandleSigQuit()
175 Runtime* runtime = Runtime::Current(); in Run() local
176 CHECK(runtime->AttachCurrentThread("Signal Catcher", true, runtime->GetSystemThreadGroup(), in Run()
177 !runtime->IsAotCompiler())); in Run()
195 runtime->DetachCurrentThread(); in Run()
Daot_class_linker.cc50 Runtime* const runtime = Runtime::Current(); in InitializeClass() local
51 bool strict_mode = runtime->IsActiveStrictTransactionMode(); in InitializeClass()
62 if (!strict_mode && runtime->GetHeap()->ObjectIsInBootImageSpace(klass->GetDexCache())) { in InitializeClass()
63 if (runtime->IsActiveTransaction()) { in InitializeClass()
64 runtime->AbortTransactionAndThrowAbortError(self, "Can't initialize " + klass->PrettyTypeOf() in InitializeClass()
73 runtime->AbortTransactionAndThrowAbortError(self, "Can't resolve " in InitializeClass()
82 runtime->AbortTransactionAndThrowAbortError(self, "Can't resolve " in InitializeClass()
89 runtime->EnterTransactionMode(/*strict=*/ true, klass.Get()); in InitializeClass()
96 runtime->ExitTransactionMode(); in InitializeClass()
112 Runtime* const runtime = Runtime::Current(); in PerformClassVerification() local
[all …]
Dscoped_thread_state_change.cc44 Runtime* runtime = Runtime::Current(); in ScopedThreadChangeDestructorCheck() local
45 bool shutting_down = (runtime == nullptr) || runtime->IsShuttingDown(nullptr) || gAborting > 0; in ScopedThreadChangeDestructorCheck()
Dart_method.cc330 Runtime* runtime = Runtime::Current(); in Invoke() local
335 if (UNLIKELY(!runtime->IsStarted() || in Invoke()
347 DCHECK_EQ(runtime->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in Invoke()
359 if (kIsDebugBuild && runtime->GetInstrumentation()->IsForcedInterpretOnly()) { in Invoke()
360 CHECK(!runtime->UseJitCompilation()); in Invoke()
364 : GetOatMethodQuickCode(runtime->GetClassLinker()->GetImagePointerSize()); in Invoke()
547 Runtime* runtime = Runtime::Current(); in GetOatQuickMethodHeader() local
550 ClassLinker* class_linker = runtime->GetClassLinker(); in GetOatQuickMethodHeader()
577 jit::Jit* jit = runtime->GetJit(); in GetOatQuickMethodHeader()
650 Runtime* runtime = Runtime::Current(); in HasAnyCompiledCode() local
[all …]
Dinstrumentation_test.cc271 Runtime* runtime = Runtime::Current(); in DeoptimizeMethod() local
272 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeMethod()
287 Runtime* runtime = Runtime::Current(); in UndeoptimizeMethod() local
288 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeMethod()
302 Runtime* runtime = Runtime::Current(); in DeoptimizeEverything() local
303 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeEverything()
317 Runtime* runtime = Runtime::Current(); in UndeoptimizeEverything() local
318 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeEverything()
332 Runtime* runtime = Runtime::Current(); in EnableMethodTracing() local
333 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in EnableMethodTracing()
[all …]
Dhidden_api.cc290 Runtime* runtime = Runtime::Current(); in LogAccessToEventLog() local
291 if (runtime->IsAotCompiler()) { in LogAccessToEventLog()
333 Runtime* runtime = Runtime::Current(); in NotifyHiddenApiListener() local
334 if (!runtime->IsAotCompiler()) { in NotifyHiddenApiListener()
368 static ALWAYS_INLINE void MaybeUpdateAccessFlags(Runtime* runtime, T* member, uint32_t flag) in MaybeUpdateAccessFlags() argument
375 !runtime->IsAotCompiler() && in MaybeUpdateAccessFlags()
376 runtime->ShouldDedupeHiddenApiWarnings()) { in MaybeUpdateAccessFlags()
497 Runtime* runtime = Runtime::Current(); in ShouldDenyAccessToMemberImpl() local
498 CompatFramework& compatFramework = runtime->GetCompatFramework(); in ShouldDenyAccessToMemberImpl()
500 EnforcementPolicy hiddenApiPolicy = runtime->GetHiddenApiEnforcementPolicy(); in ShouldDenyAccessToMemberImpl()
[all …]
/art/test/595-profile-saving/
Drun25 --runtime-option '-Xcompiler-option --compiler-filter=quicken' \
26 --runtime-option -Xjitinitialsize:32M \
27 --runtime-option -Xjitsaveprofilinginfo \
28 --runtime-option -Xusejit:false \
29 --runtime-option -Xps-profile-boot-class-path \
/art/test/
Drun-test148 runtime="art"
202 runtime="jvm"
214 runtime="dalvik"
287 run_args+=(--runtime-option "$option")
454 run_args+=(--host --runtime-extracted-zipapex "$1")
463 run_args+=(--host --runtime-zipapex "$1")
574 if [ ! "$runtime" = "jvm" ]; then
575 run_args+=(--runtime-option "-XX:ThreadSuspendTimeout=$suspend_timeout")
580 …run_args+=(--runtime-option -Xgc:preverify --runtime-option -Xgc:postverify --runtime-option -XX:H…
583 run_args+=(--runtime-option -Xgc:preverify_rosalloc --runtime-option -Xgc:postverify_rosalloc)
[all …]
/art/compiler/jit/
Djit_compiler.cc48 Runtime* runtime = Runtime::Current(); in ParseCompilerOptions() local
51 if (!compiler_options_->ParseCompilerOptions(runtime->GetCompilerOptions(), in ParseCompilerOptions()
59 compiler_options_->compiler_type_ = runtime->IsZygote() in ParseCompilerOptions()
68 compiler_options_->SetDebuggable(runtime->IsJavaDebuggable()); in ParseCompilerOptions()
78 for (const std::string& option : runtime->GetCompilerOptions()) { in ParseCompilerOptions()
179 Runtime* runtime = Runtime::Current(); in CompileMethod() local
190 JitCodeCache* const code_cache = runtime->GetJit()->GetCodeCache(); in CompileMethod()
191 metrics::AutoTimer timer{runtime->GetMetrics()->JitMethodCompileTotalTime()}; in CompileMethod()
197 runtime->GetMetrics()->JitMethodCompileCount()->AddOne(); in CompileMethod()
204 runtime->GetJitArenaPool()->TrimMaps(); in CompileMethod()
[all …]
/art/test/1000-non-moving-space-stress/src-art/
DMain.java22 VMRuntime runtime = VMRuntime.getRuntime(); in main() local
29 $noinline$Alloc(runtime); in main()
47 static void $noinline$Alloc(VMRuntime runtime) { in $noinline$Alloc() argument
48 Object[] non_moving_array = (Object[]) runtime.newNonMovableArray(Object.class, 1); in $noinline$Alloc()
/art/test/821-madvise-willneed/
Drun19 exec ${RUN} "${@}" --runtime-option -XMadviseWillNeedVdexFileSize:104857600 \
20 --runtime-option -XMadviseWillNeedOdexFileSize:104857600 \
21 --runtime-option -XMadviseWillNeedArtFileSize:104857600
/art/test/909-attach-agent/
Drun60 ./default-run "$@" --android-runtime-option -Xplugin:${plugin} \
61 --android-runtime-option -Xcompiler-option \
62 --android-runtime-option --debuggable \
67 ./default-run "$@" --android-runtime-option -Xcompiler-option \
68 --android-runtime-option --debuggable \
/art/test/004-ThreadStress/
Drun18 ${RUN} --runtime-option -Xlockprofthreshold:10 "${@}"
23 ${RUN} --runtime-option -Xlockprofthreshold:10 --runtime-option -Xstackdumplockprofthreshold:20 \
/art/test/2230-profile-save-hotness/
Drun19 --runtime-option -Xps-profile-aot-code \
20 --runtime-option -Xjitsaveprofilinginfo \
21 --runtime-option -Xusejit:true "${@}"
/art/openjdkjvmti/
Dti_jni.cc66 art::Runtime* runtime = art::Runtime::Current(); in GetJNIFunctionTable() local
67 if (runtime != nullptr && runtime->GetJavaVM() != nullptr) { in GetJNIFunctionTable()
68 check_jni = runtime->GetJavaVM()->IsCheckJniEnabled(); in GetJNIFunctionTable()
/art/test/900-hello-plugin/
Drun43 ./default-run "$@" --runtime-option -agentpath:${plugin}=test_900 \
44 --runtime-option -agentpath:${plugin}=test_900_round_2 \
45 --android-runtime-option -Xplugin:${plugin}
/art/test/004-NativeAllocations/src-art/
DMain.java24 static VMRuntime runtime = VMRuntime.getRuntime(); field in Main
58 runtime.registerNativeAllocation(size); in checkRegisterNativeAllocation()
76 runtime.registerNativeFree(size); in checkRegisterNativeAllocation()
93 runtime.registerNativeAllocation(size); in triggerBlockingRegisterNativeAllocation()
98 runtime.registerNativeFree(size); in triggerBlockingRegisterNativeAllocation()
/art/test/676-proxy-jit-at-first-use/
Drun19 ${RUN} "${@}" --runtime-option -Xjitthreshold:0 --runtime-option -Xjitinitialsize:32M
/art/test/652-deopt-intrinsic/
Drun22 exec ${RUN} "$@" --runtime-option -Xjitinitialsize:32M --runtime-option -Xjitthreshold:1000
/art/test/304-method-tracing/
Drun18 exec ${RUN} "$@" --runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file:${DEX_LOCATIO…
/art/test/157-void-class/
Drun21 --runtime-option -Ximage-compiler-option \
22 --runtime-option --compiler-filter=verify

12345678910>>...14