annotate runeclipse.sh @ 3609:e43bd78ca3a4

IdealGraphVisualizer: the context menu of graph nodes includes submenus for predecessors and successors. Recursively building them ahead of time can incur heavy delays even with limited recursion depth. Instead, build these menus on demand, i.e. when the user opens a particular submenu.
author Peter Hofer <peter.hofer@jku.at>
date Wed, 02 Nov 2011 15:37:40 +0100
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