Mercurial > hg > graal-compiler
view runh2.sh @ 3555:22d11b3bc561
Various hacks to be able to install machine code from a Java thread.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 24 Aug 2011 01:05:02 +0200 |
parents | 44da449fc29c |
children | cda0630a8640 |
line wrap: on
line source
#!/bin/bash if [ -z "${JDK7}" ]; then echo "JDK7 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 "${GRAAL}" ]; then echo "GRAAL is not defined. It must point to a maxine repository directory." exit 1; fi if [ -z "${DACAPO}" ]; then echo "DACAPO is not defined. It must point to a Dacapo benchmark directory." exit 1; fi ${JDK7}/bin/java -graal -Xms1g -Xmx2g -classpath ${DACAPO}/dacapo-9.12-bach.jar -XX:-GraalBailoutIsFatal $* Harness --preserve -n 10 h2