Mercurial > hg > graal-compiler
annotate runeclipse.sh @ 3575:37daba6a4e5a
Added criutils project to bootstrap classpath.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 13 Sep 2011 09:24:14 +0200 |
parents | 7d9e3ee49ac9 |
children | cda0630a8640 |
rev | line source |
---|---|
3021 | 1 #!/bin/bash |
2 if [ -z "${JDK7}" ]; then | |
3 echo "JDK7 is not defined." | |
4 exit 1; | |
5 fi | |
6 if [ -z "${MAXINE}" ]; then | |
3575
37daba6a4e5a
Added criutils project to bootstrap classpath.
Doug Simon <doug.simon@oracle.com>
parents:
3551
diff
changeset
|
7 echo "MAXINE is not defined. It must point to a Maxine repository directory." |
3021 | 8 exit 1; |
9 fi | |
10 if [ -z "${GRAAL}" ]; then | |
3575
37daba6a4e5a
Added criutils project to bootstrap classpath.
Doug Simon <doug.simon@oracle.com>
parents:
3551
diff
changeset
|
11 echo "GRAAL is not defined. It must point to a Maxine repository directory." |
3021 | 12 exit 1; |
13 fi | |
3575
37daba6a4e5a
Added criutils project to bootstrap classpath.
Doug Simon <doug.simon@oracle.com>
parents:
3551
diff
changeset
|
14 if [ ! -f "${DACAPO}/dacapo-9.12-bach.jar" ]; then |
37daba6a4e5a
Added criutils project to bootstrap classpath.
Doug Simon <doug.simon@oracle.com>
parents:
3551
diff
changeset
|
15 echo "DACAPO must point to a directory containing dacapo-9.12-bach.jar" |
3021 | 16 exit 1; |
17 fi | |
3551
7d9e3ee49ac9
Made default for GraalBailoutIsFatal "false".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
3543
diff
changeset
|
18 COMMAND="${JDK7}/bin/java -graal -Xms1g -Xmx2g -esa -classpath ${DACAPO}/dacapo-9.12-bach.jar -XX:-GraalBailoutIsFatal -G:-QuietBailout $* Harness --preserve -n 15 eclipse" |
3021 | 19 echo $COMMAND |
20 $COMMAND | |
21 echo $COMMAND |