Revert "ART: Support per PID stack trace files."
Remove leftovers.
This reverts commit 84695aef89a3c42ea81c23f0590ae2ceca09ce6f.
Bug: 32064548
Bug: 77288304
Test: m test-art-host
Change-Id: I9b6f7f7daddd75ff47c7b17a91738858f0023605
diff --git a/test/etc/run-test-jar b/test/etc/run-test-jar
index be1296b..81e77be 100755
--- a/test/etc/run-test-jar
+++ b/test/etc/run-test-jar
@@ -80,11 +80,6 @@
# The *hard* timeout where we really start trying to kill the dex2oat.
DEX2OAT_RT_TIMEOUT="360" # 6 mins
-# if "y", set -Xstacktracedir and inform the test of its location. When
-# this is set, stack trace dumps (from signal 3) will be written to a file
-# under this directory instead of stdout.
-SET_STACK_TRACE_DUMP_DIR="n"
-
# if "y", run 'sync' before dalvikvm to make sure all files from
# build step (e.g. dex2oat) were finished writing.
SYNC_BEFORE_RUN="n"
@@ -364,9 +359,6 @@
elif [ "x$1" = "x--random-profile" ]; then
RANDOM_PROFILE="y"
shift
- elif [ "x$1" = "x--set-stack-trace-dump-dir" ]; then
- SET_STACK_TRACE_DUMP_DIR="y"
- shift
elif expr "x$1" : "x--" >/dev/null 2>&1; then
echo "unknown $0 option: $1" 1>&2
exit 1
@@ -375,22 +367,12 @@
fi
done
-mkdir_locations=""
-
if [ "$USE_JVM" = "n" ]; then
FLAGS="${FLAGS} ${ANDROID_FLAGS}"
for feature in ${EXPERIMENTAL}; do
FLAGS="${FLAGS} -Xexperimental:${feature} -Xcompiler-option --runtime-arg -Xcompiler-option -Xexperimental:${feature}"
COMPILE_FLAGS="${COMPILE_FLAGS} --runtime-arg -Xexperimental:${feature}"
done
-
- if [ "$SET_STACK_TRACE_DUMP_DIR" = "y" ]; then
- # Note that DEX_LOCATION is used as a proxy for tmpdir throughout this
- # file (it will be under the test specific folder).
- mkdir_locations="${mkdir_locations} $DEX_LOCATION/stack_traces"
- FLAGS="${FLAGS} -Xstacktracedir:$DEX_LOCATION/stack_traces"
- ARGS="${ARGS} --stack-trace-dir $DEX_LOCATION/stack_traces"
- fi
fi
if [ "x$1" = "x" ] ; then
@@ -684,7 +666,7 @@
dex2oat_cmdline="true"
vdex_cmdline="true"
dm_cmdline="true"
-mkdir_locations="${mkdir_locations} ${DEX_LOCATION}/dalvik-cache/$ISA"
+mkdir_locations="${DEX_LOCATION}/dalvik-cache/$ISA"
strip_cmdline="true"
sync_cmdline="true"