/art/test/2031-zygote-compiled-frame-deopt/ |
D | native-wait.cc | 38 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 …]
|
D | run | 21 ./default-run "$@" --runtime-option -Xopaque-jni-ids:true --add-libdir-argument --runtime-option -X…
|
/art/runtime/native/ |
D | dalvik_system_ZygoteHooks.cc | 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() [all …]
|
/art/runtime/ |
D | scoped_disable_public_sdk_checker.h | 28 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()
|
D | signal_catcher.cc | 118 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()
|
D | aot_class_linker.cc | 50 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 …]
|
D | scoped_thread_state_change.cc | 44 Runtime* runtime = Runtime::Current(); in ScopedThreadChangeDestructorCheck() local 45 bool shutting_down = (runtime == nullptr) || runtime->IsShuttingDown(nullptr) || gAborting > 0; in ScopedThreadChangeDestructorCheck()
|
D | art_method.cc | 330 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 …]
|
D | instrumentation_test.cc | 271 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 …]
|
D | hidden_api.cc | 290 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/ |
D | run | 25 --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/ |
D | run-test | 148 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/ |
D | jit_compiler.cc | 48 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/ |
D | Main.java | 22 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/ |
D | run | 19 exec ${RUN} "${@}" --runtime-option -XMadviseWillNeedVdexFileSize:104857600 \ 20 --runtime-option -XMadviseWillNeedOdexFileSize:104857600 \ 21 --runtime-option -XMadviseWillNeedArtFileSize:104857600
|
/art/test/909-attach-agent/ |
D | run | 60 ./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/ |
D | run | 18 ${RUN} --runtime-option -Xlockprofthreshold:10 "${@}" 23 ${RUN} --runtime-option -Xlockprofthreshold:10 --runtime-option -Xstackdumplockprofthreshold:20 \
|
/art/test/2230-profile-save-hotness/ |
D | run | 19 --runtime-option -Xps-profile-aot-code \ 20 --runtime-option -Xjitsaveprofilinginfo \ 21 --runtime-option -Xusejit:true "${@}"
|
/art/openjdkjvmti/ |
D | ti_jni.cc | 66 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/ |
D | run | 43 ./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/ |
D | Main.java | 24 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/ |
D | run | 19 ${RUN} "${@}" --runtime-option -Xjitthreshold:0 --runtime-option -Xjitinitialsize:32M
|
/art/test/652-deopt-intrinsic/ |
D | run | 22 exec ${RUN} "$@" --runtime-option -Xjitinitialsize:32M --runtime-option -Xjitthreshold:1000
|
/art/test/304-method-tracing/ |
D | run | 18 exec ${RUN} "$@" --runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file:${DEX_LOCATIO…
|
/art/test/157-void-class/ |
D | run | 21 --runtime-option -Ximage-compiler-option \ 22 --runtime-option --compiler-filter=verify
|