summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-12-08 16:59:43 -0800
committerAndreas Gampe <agampe@google.com>2014-12-22 10:01:27 -0800
commite21dc3db191df04c100620965bee4617b3b24397 (patch)
tree2ad762c6afb024bf95e1eced3d584649a4d57d23 /test
parent6d1a047b4b3f9707d4ee1cc19e99717ee021ef48 (diff)
downloadart-e21dc3db191df04c100620965bee4617b3b24397.tar.gz
art-e21dc3db191df04c100620965bee4617b3b24397.tar.bz2
art-e21dc3db191df04c100620965bee4617b3b24397.zip
ART: Swap-space in the compiler
Introduce a swap-space and corresponding allocator to transparently switch native allocations to memory backed by a file. Bug: 18596910 (cherry picked from commit 62746d8d9c4400e4764f162b22bfb1a32be287a9) Change-Id: I131448f3907115054a592af73db86d2b9257ea33
Diffstat (limited to 'test')
-rwxr-xr-xtest/run-test4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/run-test b/test/run-test
index 2abc1fa262..aba4e05d03 100755
--- a/test/run-test
+++ b/test/run-test
@@ -258,6 +258,9 @@ while true; do
elif [ "x$1" = "x--always-clean" ]; then
always_clean="yes"
shift
+ elif [ "x$1" = "x--dex2oat-swap" ]; then
+ run_args="${run_args} --dex2oat-swap"
+ shift
elif expr "x$1" : "x--" >/dev/null 2>&1; then
echo "unknown $0 option: $1" 1>&2
usage="yes"
@@ -452,6 +455,7 @@ if [ "$usage" = "yes" ]; then
echo " --gcverify Run with gc verification"
echo " --always-clean Delete the test files even if the test fails."
echo " --android-root [path] The path on target for the android root. (/system by default)."
+ echo " --dex2oat-swap Use a dex2oat swap file."
) 1>&2
exit 1
fi