/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() 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() [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 | 145 runtime="art" 199 runtime="jvm" 211 runtime="dalvik" 284 run_args+=(--runtime-option "$option") 448 run_args+=(--host --runtime-extracted-zipapex "$1") 457 run_args+=(--host --runtime-zipapex "$1") 568 if [ ! "$runtime" = "jvm" ]; then 569 run_args+=(--runtime-option "-XX:ThreadSuspendTimeout=$suspend_timeout") 574 …run_args+=(--runtime-option -Xgc:preverify --runtime-option -Xgc:postverify --runtime-option -XX:H… 577 run_args+=(--runtime-option -Xgc:preverify_rosalloc --runtime-option -Xgc:postverify_rosalloc) [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/004-ThreadStress/ |
D | run | 18 ${RUN} --runtime-option -Xlockprofthreshold:10 "${@}" 23 ${RUN} --runtime-option -Xlockprofthreshold:10 --runtime-option -Xstackdumplockprofthreshold:20 \
|
/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/2230-profile-save-hotness/ |
D | run | 19 --runtime-option -Xps-profile-aot-code \ 20 --runtime-option -Xjitsaveprofilinginfo \ 21 --runtime-option -Xusejit:true "${@}"
|
/art/runtime/ |
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() 110 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 | hidden_api.cc | 271 Runtime* runtime = Runtime::Current(); in LogAccessToEventLog() local 272 if (runtime->IsAotCompiler()) { in LogAccessToEventLog() 314 Runtime* runtime = Runtime::Current(); in NotifyHiddenApiListener() local 315 if (!runtime->IsAotCompiler()) { in NotifyHiddenApiListener() 349 static ALWAYS_INLINE void MaybeUpdateAccessFlags(Runtime* runtime, T* member, uint32_t flag) in MaybeUpdateAccessFlags() argument 356 !runtime->IsAotCompiler() && in MaybeUpdateAccessFlags() 357 runtime->ShouldDedupeHiddenApiWarnings()) { in MaybeUpdateAccessFlags() 478 Runtime* runtime = Runtime::Current(); in ShouldDenyAccessToMemberImpl() local 480 EnforcementPolicy hiddenApiPolicy = runtime->GetHiddenApiEnforcementPolicy(); in ShouldDenyAccessToMemberImpl() 487 if (member_signature.DoesPrefixMatchAny(runtime->GetHiddenApiExemptions())) { in ShouldDenyAccessToMemberImpl() [all …]
|
/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/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/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() 205 runtime->GetJitArenaPool()->TrimMaps(); in CompileMethod() 208 runtime->GetJit()->AddTimingLogger(logger); in CompileMethod()
|
/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/652-deopt-intrinsic/ |
D | run | 22 exec ${RUN} "$@" --runtime-option -Xjitinitialsize:32M --runtime-option -Xjitthreshold:1000
|
/art/test/676-proxy-jit-at-first-use/ |
D | run | 19 ${RUN} "${@}" --runtime-option -Xjitthreshold:0 --runtime-option -Xjitinitialsize:32M
|
/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
|
/art/test/638-checker-inline-cache-intrinsic/ |
D | run | 22 exec ${RUN} --jit --runtime-option -Xjitinitialsize:32M --runtime-option -Xjitthreshold:1000 -Xcomp…
|
/art/test/677-fsi/ |
D | run | 19 …N} $@ -Xcompiler-option --copy-dex-files=always --runtime-option -Xonly-use-system-oat-files --run…
|
/art/test/1972-jni-id-swap-indices/ |
D | run | 19 ./default-run $args --android-runtime-option -Xopaque-jni-ids:swapable --android-runtime-option -Xa…
|
/art/test/1973-jni-id-swap-pointer/ |
D | run | 19 ./default-run $args --android-runtime-option -Xopaque-jni-ids:swapable --android-runtime-option -Xa…
|