diff options
author | Elliott Hughes <enh@google.com> | 2011-10-18 14:14:25 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2011-10-18 14:14:25 -0700 |
commit | bb1e8f0a07c12a8b0a2dd3cab6a1a7e825a54c6f (patch) | |
tree | b2c5d6d1765a6a4de8c3f90c32d78b424f870635 /test/etc/push-and-run-test-jar | |
parent | 362f9bc807169bcfc8761dde067bbfb79b5ad0fd (diff) | |
download | art-bb1e8f0a07c12a8b0a2dd3cab6a1a7e825a54c6f.zip art-bb1e8f0a07c12a8b0a2dd3cab6a1a7e825a54c6f.tar.gz art-bb1e8f0a07c12a8b0a2dd3cab6a1a7e825a54c6f.tar.bz2 |
Implement -Xjnigreflimit.
Change-Id: Iaa31cf4ea4f90fc76baa4472b67fe6c2cc0e0277
Diffstat (limited to 'test/etc/push-and-run-test-jar')
-rwxr-xr-x | test/etc/push-and-run-test-jar | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/test/etc/push-and-run-test-jar b/test/etc/push-and-run-test-jar index c1d9250..24bc8c6 100755 --- a/test/etc/push-and-run-test-jar +++ b/test/etc/push-and-run-test-jar @@ -23,7 +23,6 @@ VERIFY="y" OPTIMIZE="y" ZYGOTE="n" QUIET="n" -PRECISE="y" DEV_MODE="n" while true; do @@ -46,9 +45,6 @@ while true; do elif [ "x$1" = "x--no-optimize" ]; then OPTIMIZE="n" shift - elif [ "x$1" = "x--no-precise" ]; then - PRECISE="n" - shift elif [ "x$1" = "x--" ]; then shift break @@ -104,21 +100,15 @@ if [ "$DEBUG" = "y" ]; then DEX_DEBUG="-agentlib:jdwp=transport=dt_android_adb,server=y,suspend=y" fi -if [ "$PRECISE" = "y" ]; then - GC_OPTS="-Xgc:precise -Xgenregmap" -else - GC_OPTS="-Xgc:noprecise" -fi - if [ "$ZYGOTE" = "y" ]; then adb shell cd /data \; dvz -classpath $TEST_NAME.jar Main "$@" else - cmdline="cd /data; oatexecd \ + cmdline="cd /data; oatexecd -Xjnigreflimit:256 \ -Ximage:/data/art-test/core.art \ -cp /data/art-test/$TEST_NAME.jar \ Main" #cmdline="cd /data; dalvikvm $DEX_VERIFY $DEX_OPTIMIZE $DEX_DEBUG \ - # $GC_OPTS -cp test.jar -Xint:${INTERP} -ea Main" + # -cp test.jar -Xint:${INTERP} -ea Main" if [ "$DEV_MODE" = "y" ]; then echo $cmdline "$@" fi |