Mercurial > hg > graal-compiler
annotate runfop.sh @ 3521:82266dbf5a5a
WIP : updated loop counter detection, added Basic and Derived induction variable framework
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 09 Aug 2011 18:53:11 +0200 |
parents | bdeb4ba46a30 |
children | 344264424174 |
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 |
3478
bdeb4ba46a30
Init StringBuilder with size.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
3130
diff
changeset
|
18 ${JDK7}/bin/java -client -d64 -graal -Xms1g -Xmx2g -esa -classpath ${DACAPO}/dacapo-9.12-bach.jar -XX:-GraalBailoutIsFatal $* Harness --preserve -n 100 fop |