Mercurial > hg > graal-compiler
comparison runscimark.sh @ 3201:38792f959479
Merge
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Fri, 08 Jul 2011 15:00:16 +0200 |
parents | 2de2bff9dba6 |
children | 344264424174 |
comparison
equal
deleted
inserted
replaced
3200:536b02e3cd2b | 3201:38792f959479 |
---|---|
10 if [ -z "${GRAAL}" ]; then | 10 if [ -z "${GRAAL}" ]; then |
11 echo "GRAAL is not defined. It must point to a maxine repository directory." | 11 echo "GRAAL is not defined. It must point to a maxine repository directory." |
12 exit 1; | 12 exit 1; |
13 fi | 13 fi |
14 if [ -z "${SCIMARK}" ]; then | 14 if [ -z "${SCIMARK}" ]; then |
15 echo "SCIMARK is not defined. It must point to a SciMark benchmark jar." | 15 echo "SCIMARK is not defined. It must point to a directory with the SciMark benchmark jar." |
16 exit 1; | 16 exit 1; |
17 fi | 17 fi |
18 COUNT=$1 | 18 ${JDK7}/jre/bin/java -client -d64 -graal -Xms256m -Xmx512m -Xbootclasspath/a:${SCIMARK}/scimark2lib.jar $@ jnt.scimark2.commandline |
19 shift | |
20 if [ -z "${COUNT}" ]; then | |
21 COUNT=5000 | |
22 fi | |
23 for (( i = 1; i <= ${COUNT}; i++ )) ### Outer for loop ### | |
24 do | |
25 echo "$i " | |
26 ${JDK7}/jre/bin/java -client -d64 -graal -esa -ea -Xms32m -Xmx100m -Xbootclasspath/a:${SCIMARK} -G:+Time $@ jnt.scimark2.commandline | |
27 done |