Mercurial > hg > graal-compiler
annotate runscimark.sh @ 2713:95e2aa413d95
Merge.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Thu, 19 May 2011 13:09:51 +0200 |
parents | 6ab73784566a |
children | 189ffb7d1d84 |
rev | line source |
---|---|
1449
8cfe3537a0d3
Pointer verification stub. Two loose oop fixes in C1X C++ part. Logging which methods have been compiled.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
diff
changeset
|
1 #!/bin/bash |
1476
1f81c0d18c75
Build also release version of VM. Fix towards making SpecJVM2008 run.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
1470
diff
changeset
|
2 if [ -z "${JDK7}" ]; then |
1f81c0d18c75
Build also release version of VM. Fix towards making SpecJVM2008 run.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
1470
diff
changeset
|
3 echo "JDK7 is not defined." |
1449
8cfe3537a0d3
Pointer verification stub. Two loose oop fixes in C1X C++ part. Logging which methods have been compiled.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
diff
changeset
|
4 exit 1; |
8cfe3537a0d3
Pointer verification stub. Two loose oop fixes in C1X C++ part. Logging which methods have been compiled.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
diff
changeset
|
5 fi |
8cfe3537a0d3
Pointer verification stub. Two loose oop fixes in C1X C++ part. Logging which methods have been compiled.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
diff
changeset
|
6 if [ -z "${MAXINE}" ]; then |
8cfe3537a0d3
Pointer verification stub. Two loose oop fixes in C1X C++ part. Logging which methods have been compiled.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
diff
changeset
|
7 echo "MAXINE is not defined. It must point to a maxine repository directory." |
8cfe3537a0d3
Pointer verification stub. Two loose oop fixes in C1X C++ part. Logging which methods have been compiled.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
diff
changeset
|
8 exit 1; |
8cfe3537a0d3
Pointer verification stub. Two loose oop fixes in C1X C++ part. Logging which methods have been compiled.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
diff
changeset
|
9 fi |
2553
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
1936
diff
changeset
|
10 if [ -z "${GRAAL}" ]; then |
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
1936
diff
changeset
|
11 echo "GRAAL is not defined. It must point to a maxine repository directory." |
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
1936
diff
changeset
|
12 exit 1; |
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
1936
diff
changeset
|
13 fi |
1452
9b22e3e5df8e
Solved an issue with unresolved field patching.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
1449
diff
changeset
|
14 if [ -z "${SCIMARK}" ]; then |
2602
0c6564c254af
new node layout: BlockBegin, BlockEnd
Lukas Stadler <lukas.stadler@jku.at>
parents:
2594
diff
changeset
|
15 echo "SCIMARK is not defined. It must point to a SciMark benchmark jar." |
1452
9b22e3e5df8e
Solved an issue with unresolved field patching.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
1449
diff
changeset
|
16 exit 1; |
9b22e3e5df8e
Solved an issue with unresolved field patching.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
1449
diff
changeset
|
17 fi |
2594
092e628ddd5d
changed Constant and Convert, more StoreIndexed changes
Lukas Stadler <lukas.stadler@jku.at>
parents:
2553
diff
changeset
|
18 COUNT=$1 |
2674
6ab73784566a
* BlockBegin.predecessors changed to List<BlockEnd>
Lukas Stadler <lukas.stadler@jku.at>
parents:
2664
diff
changeset
|
19 shift |
2594
092e628ddd5d
changed Constant and Convert, more StoreIndexed changes
Lukas Stadler <lukas.stadler@jku.at>
parents:
2553
diff
changeset
|
20 if [ -z "${COUNT}" ]; then |
092e628ddd5d
changed Constant and Convert, more StoreIndexed changes
Lukas Stadler <lukas.stadler@jku.at>
parents:
2553
diff
changeset
|
21 COUNT=5000 |
092e628ddd5d
changed Constant and Convert, more StoreIndexed changes
Lukas Stadler <lukas.stadler@jku.at>
parents:
2553
diff
changeset
|
22 fi |
092e628ddd5d
changed Constant and Convert, more StoreIndexed changes
Lukas Stadler <lukas.stadler@jku.at>
parents:
2553
diff
changeset
|
23 for (( i = 1; i <= ${COUNT}; i++ )) ### Outer for loop ### |
1449
8cfe3537a0d3
Pointer verification stub. Two loose oop fixes in C1X C++ part. Logging which methods have been compiled.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
diff
changeset
|
24 do |
8cfe3537a0d3
Pointer verification stub. Two loose oop fixes in C1X C++ part. Logging which methods have been compiled.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
diff
changeset
|
25 echo "$i " |
2674
6ab73784566a
* BlockBegin.predecessors changed to List<BlockEnd>
Lukas Stadler <lukas.stadler@jku.at>
parents:
2664
diff
changeset
|
26 ${JDK7}/jre/bin/java -client -d64 -graal -esa -ea -Xms32m -Xmx100m -Xbootclasspath/a:${SCIMARK} -C1X:+PrintTimers $@ jnt.scimark2.commandline -large |
1449
8cfe3537a0d3
Pointer verification stub. Two loose oop fixes in C1X C++ part. Logging which methods have been compiled.
Thomas Wuerthinger <wuerthinger@ssw.jku.at>
parents:
diff
changeset
|
27 done |