Mercurial > hg > graal-compiler
annotate runfop.sh @ 2968:9133554259c5
Clean up.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 15 Jun 2011 16:56:03 +0200 |
parents | 4db4e8cb6bd6 |
children | b4ba003eb11d 183389909fe3 |
rev | line source |
---|---|
2903
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
1 #!/bin/bash |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
2 if [ -z "${JDK7}" ]; then |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
3 echo "JDK7 is not defined." |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
4 exit 1; |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
5 fi |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
6 if [ -z "${MAXINE}" ]; then |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
7 echo "MAXINE is not defined. It must point to a maxine repository directory." |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
8 exit 1; |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
9 fi |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
10 if [ -z "${GRAAL}" ]; then |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
11 echo "GRAAL is not defined. It must point to a maxine repository directory." |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
12 exit 1; |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
13 fi |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
14 if [ -z "${DACAPO}" ]; then |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
15 echo "DACAPO is not defined. It must point to a Dacapo benchmark directory." |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
16 exit 1; |
eb3a82946429
Measure nodes created and nodes deleted for nodes. New option -G:+Meter.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
17 fi |
2949
4db4e8cb6bd6
Updated design document (incorporated comments from Peter Kessler).
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2946
diff
changeset
|
18 ${JDK7}/bin/java -client -d64 -graal -Xms1g -Xmx2g -esa -classpath ${DACAPO}/dacapo-9.12-bach.jar $* Harness --preserve -n 5 fop |