annotate runeclipse.sh @ 3714:b648304ba4ff

Change Graal monitor enter and exit from BasicObjectLock to BasicLock
author Christian Wimmer <christian.wimmer@oracle.com>
date Tue, 13 Dec 2011 21:17:46 -0800
parents cda0630a8640
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3021
a197fd9e273c added run scripts
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
1 #!/bin/bash
a197fd9e273c added run scripts
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
2 if [ -z "${JDK7}" ]; then
a197fd9e273c added run scripts
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
3 echo "JDK7 is not defined."
a197fd9e273c added run scripts
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
4 exit 1;
a197fd9e273c added run scripts
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
5 fi
a197fd9e273c added run scripts
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
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
a197fd9e273c added run scripts
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
8 exit 1;
a197fd9e273c added run scripts
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
9 fi
3575
37daba6a4e5a Added criutils project to bootstrap classpath.
Doug Simon <doug.simon@oracle.com>
parents: 3551
diff changeset
10 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
11 echo "DACAPO must point to a directory containing dacapo-9.12-bach.jar"
3021
a197fd9e273c added run scripts
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
12 exit 1;
a197fd9e273c added run scripts
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
13 fi
3551
7d9e3ee49ac9 Made default for GraalBailoutIsFatal "false".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3543
diff changeset
14 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
a197fd9e273c added run scripts
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
15 echo $COMMAND
a197fd9e273c added run scripts
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
16 $COMMAND
a197fd9e273c added run scripts
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
17 echo $COMMAND