Mercurial > hg > graal-compiler
view runscimark.sh @ 1472:7641338cfc92
Small NPE fix. More detailed error in case of wrong bytecode in patching stub.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Thu, 25 Nov 2010 19:21:22 +0100 |
parents | ef7761803480 |
children | 1f81c0d18c75 |
line wrap: on
line source
#!/bin/bash if [ -z "${JRE7}" ]; then echo "JRE7 is not defined." exit 1; fi if [ -z "${MAXINE}" ]; then echo "MAXINE is not defined. It must point to a maxine repository directory." exit 1; fi if [ -z "${C1X}" ]; then echo "C1X is not defined. It must point to a c1x4hotspot directory." exit 1; fi if [ -z "${SCIMARK}" ]; then echo "SCIMARK is not defined. It must point to a SciMark benchmark directory." exit 1; fi for (( i = 1; i <= 5000; i++ )) ### Outer for loop ### do echo "$i " ${JRE7}/bin/java -client -esa -ea -XX:+PrintCompilation -XX:+PrintCompilation -XX:+PrintCompilation -XX:+PrintCompilation -XX:+PrintCompilation -XX:+PrintCompilation -XX:+PrintCompilation -XX:+PrintCompilation -XX:+PrintCompilation -XX:+UseC1X -Xms32m -Xmx100m -Xbootclasspath/p:${MAXINE}/C1X/bin:${MAXINE}/CRI/bin:${MAXINE}/Base/bin:${MAXINE}/Assembler/bin:${C1X}/c1x4hotspotsrc/HotSpotVM/bin -Xbootclasspath/a:${SCIMARK} -C1X:+PrintTimers jnt.scimark2.commandline -large done