comparison runjython.sh @ 3584:cda0630a8640

Remove GRAAL env var requirement; Add ResourceMarks in code installer to avoid leaks
author Gilles Duboscq <gilles.m.duboscq@gmail.com>
date Thu, 06 Oct 2011 17:11:04 +0200
parents 344264424174
children 54d4c210a34e
comparison
equal deleted inserted replaced
3582:953034d78b64 3584:cda0630a8640
5 fi 5 fi
6 if [ -z "${MAXINE}" ]; then 6 if [ -z "${MAXINE}" ]; then
7 echo "MAXINE is not defined. It must point to a maxine repository directory." 7 echo "MAXINE is not defined. It must point to a maxine repository directory."
8 exit 1; 8 exit 1;
9 fi 9 fi
10 if [ -z "${GRAAL}" ]; then
11 echo "GRAAL is not defined. It must point to a maxine repository directory."
12 exit 1;
13 fi
14 if [ -z "${DACAPO}" ]; then 10 if [ -z "${DACAPO}" ]; then
15 echo "DACAPO is not defined. It must point to a Dacapo benchmark directory." 11 echo "DACAPO is not defined. It must point to a Dacapo benchmark directory."
16 exit 1; 12 exit 1;
17 fi 13 fi
18 COMMAND="${JDK7}/bin/java -graal -Xms1g -Xmx2g -esa -classpath ${DACAPO}/dacapo-9.12-bach.jar -XX:-GraalBailoutIsFatal -G:-QuietBailout $* Harness --preserve -n 10 jython" 14 COMMAND="${JDK7}/bin/java -graal -Xms1g -Xmx2g -esa -classpath ${DACAPO}/dacapo-9.12-bach.jar -XX:-GraalBailoutIsFatal -G:-QuietBailout $* Harness --preserve -n 10 jython"