Mercurial > hg > graal-compiler
annotate runexamplescompare.sh @ 3631:1ae6a886a45f
IdealGraphVisualizer: default to panning when dragging with the left mouse button. Switching between the panning and selection modes can be done via new toolbar buttons similar to popular document viewers. Selection mode can also be temporarily enabled by holding the shift key before/while dragging.
author | Peter Hofer <peter.hofer@jku.at> |
---|---|
date | Mon, 14 Nov 2011 18:14:13 +0100 |
parents | cda0630a8640 |
children |
rev | line source |
---|---|
3190
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
1 #!/bin/bash |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
2 if [ -z "${JDK7}" ]; then |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
3 echo "JDK7 is not defined." |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
4 exit 1; |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
5 fi |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
6 if [ -z "${MAXINE}" ]; then |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
7 echo "MAXINE is not defined. It must point to a maxine repository directory." |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
8 exit 1; |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
9 fi |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
10 if [ -z "${DACAPO}" ]; then |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
11 echo "DACAPO is not defined. It must point to a Dacapo benchmark directory." |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
12 exit 1; |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
13 fi |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
14 ant -f create_examples.xml |
3543
344264424174
Enable debugging of compiler code from Java IDEs. Moved binary to "graal" subdirectory. New flag for starting Graal is just "-graal".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
3190
diff
changeset
|
15 COMMAND="${JDK7}/bin/java -graal -Xms1g -Xmx2g -esa -G:Extend -Xcomp -XX:CompileOnly=examples $* -jar examples.jar" |
3190
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
16 echo $COMMAND |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
17 $COMMAND |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
18 COMMAND="${JDK7}/bin/java -client -d64 -Xms1g -Xmx2g -esa -Xcomp -XX:CompileOnly=examples $* -jar examples.jar" |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
19 echo $COMMAND |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
20 $COMMAND |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
21 COMMAND="${JDK7}/bin/java -server -d64 -Xms1g -Xmx2g -esa -Xcomp -XX:CompileOnly=examples $* -jar examples.jar" |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
22 echo $COMMAND |
ce2952ab2028
New optimization phase example.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
23 $COMMAND |