Lines Matching refs:runtime
144 runtime="art"
197 runtime="jvm"
209 runtime="dalvik"
279 elif [ "x$1" = "x--runtime-option" ]; then
282 run_args="${run_args} --runtime-option $option"
401 elif [ "x$1" = "x--android-runtime-root" ]; then
404 echo "$0 missing argument to --android-runtime-root" 1>&2
408 run_args="${run_args} --android-runtime-root $1"
428 elif [ "x$1" = "x--runtime-extracted-zipapex" ]; then
433 run_args="${run_args} --host --runtime-extracted-zipapex $1"
437 elif [ "x$1" = "x--runtime-zipapex" ]; then
442 run_args="${run_args} --host --runtime-zipapex $1"
540 if [ ! "$runtime" = "jvm" ]; then
541 run_args="${run_args} --runtime-option -XX:ThreadSuspendTimeout=$suspend_timeout"
546 runtime-option -Xgc:preverify --runtime-option -Xgc:postverify --runtime-option -XX:HspaceCompactForOOMMinIntervalMs=0"
549 run_args="${run_args} --runtime-option -Xgc:preverify_rosalloc --runtime-option -Xgc:postverify_rosalloc"
552 run_args="${run_args} --gc-stress --runtime-option -Xgc:gcstress --runtime-option -Xms2m --runtime-option -Xmx16m"
567 run_args="${run_args} --runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file-size:2000000"
571 run_args="${run_args} --runtime-option -Xmethod-trace-file:/dev/null"
573 run_args="${run_args} --runtime-option -Xmethod-trace-stream"
575 run_args="${run_args} --runtime-option -Xmethod-trace-file:${DEX_LOCATION}/trace.bin"
618 if [ "$runtime" = "jvm" ]; then
632 if [ ! "$runtime" = "jvm" ]; then
636 if [ "$runtime" = "dalvik" ]; then
640 run_args="${run_args} --boot --runtime-option -Xbootclasspath:${bpath}"
644 elif [ "$runtime" = "art" ]; then
648 run_args="${run_args} --runtime-option -Djava.library.path=${host_lib_root}/lib${suffix64}:${host_lib_root}/nativetest${suffix64}"
651 run_args="${run_args} --runtime-option -Djava.library.path=/data/nativetest${suffix64}/art/${target_arch_name}"
659 elif [ "$runtime" = "jvm" ]; then
661 run_args="${run_args} --runtime-option -Djava.library.path=${ANDROID_HOST_OUT}/lib64:${ANDROID_HOST_OUT}/nativetest64"
665 if [ "$runtime" != "art" ]; then
666 err_echo "--no-image is only supported on the art runtime"
725 echo " Runtime Options:"
729 echo " --runtime-option Pass an option to the runtime."
758 echo " other runtime options are ignored."
771 echo " --invoke-with Pass --invoke-with option to runtime."
775 echo " to find the java compiler and runtime"
780 echo " --bionic Use the (host, 64-bit only) linux_bionic libc runtime"
781 echo " --runtime-zipapex [file]"
782 echo " Use the given zipapex file to provide runtime binaries"
783 echo " --runtime-extracted-zipapex [dir]"
785 echo " runtime binaries"
799 echo " --android-runtime-root [path]"
800 echo " The path on target for the Android Runtime root."
801 echo " (/apex/com.android.runtime by default)."
865 if [ "$runtime" = "art" -a "$image_suffix" = "" -a "$run_optimizing" = "true" ]; then
899 if [[ $runtime == "jvm" ]]; then
913 export TEST_RUNTIME="${runtime}"
1058 # Produce cmdline.sh in $chroot_dex_location. "$@" is passed as a runtime option
1062 "./${run}" $run_args --runtime-option '"$@"' --invoke-with exec --dry-run "$@" &> /dev/null