Mercurial > hg > truffle
view graal/com.oracle.max.graal.examples/runexample.sh @ 3225:7610d0b83fd1
Canonicalize Compare if x valueEquals y, make EndNode return an empty list for cfgSux if it has no merge instead of retruning a list conatining null, make runjython executable, add a ProblemsIdeas.txt file
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 19 Jul 2011 13:48:43 +0200 |
parents | e41017cddf3a |
children |
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 TEST=$1 shift ant -f create_examples.xml COMMAND="${JDK7}/bin/java -client -d64 -graal -Xmx1g -esa -ea -G:Extend -G:CacheGraphs -XX:+PrintCompilation -Xcomp -XX:CompileOnly=examples -XX:CompileCommand=quiet -XX:CompileCommand=exclude,*,<init> -XX:CompileCommand=exclude,*,<clinit> -XX:CompileCommand=exclude,*,run -XX:CompileCommand=exclude,com.oracle.max.graal.examples.Main::main $* -jar examples.jar ${TEST}" # echo $COMMAND $COMMAND