Mercurial > hg > truffle
changeset 3585:f3e823ead645
Merge
author | Gilles Duboscq <gilles.m.duboscq@gmail.com> |
---|---|
date | Thu, 06 Oct 2011 17:14:21 +0200 |
parents | cda0630a8640 (diff) 764daa888a18 (current diff) |
children | 7604c69a6301 |
files | runexamples.sh |
diffstat | 18 files changed, 4 insertions(+), 68 deletions(-) [+] |
line wrap: on
line diff
--- a/runavrora.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runavrora.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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;
--- a/runbatik.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runbatik.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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;
--- a/runbootstrap.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runbootstrap.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,8 +7,4 @@ 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 ${JDK7}/bin/java -graal $* -version
--- a/rundacapo.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/rundacapo.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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;
--- a/runeclipse.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runeclipse.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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 [ ! -f "${DACAPO}/dacapo-9.12-bach.jar" ]; then echo "DACAPO must point to a directory containing dacapo-9.12-bach.jar" exit 1;
--- a/runexamples.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runexamples.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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;
--- a/runexamplescompare.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runexamplescompare.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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;
--- a/runfilter.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runfilter.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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 [ $# -lt 1 ]; then echo "You must provide at least a filter option" exit 1;
--- a/runfop.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runfop.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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;
--- a/runh2.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runh2.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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;
--- a/runjython.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runjython.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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;
--- a/runlusearch.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runlusearch.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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;
--- a/runpmd.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runpmd.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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;
--- a/runscimark.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runscimark.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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 "${SCIMARK}" ]; then echo "SCIMARK is not defined. It must point to a directory with the SciMark benchmark jar." exit 1;
--- a/runtests.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runtests.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,9 +7,5 @@ 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 TESTDIR=${MAXINE}/com.oracle.max.vm/test ${JDK7}/bin/java -graal -ea -esa -Xcomp -XX:+PrintCompilation -XX:CompileOnly=jtt $@ -Xbootclasspath/p:"${MAXINE}/com.oracle.max.vm/bin" -Xbootclasspath/p:"${MAXINE}/com.oracle.max.base/bin" $@ test.com.sun.max.vm.compiler.JavaTester -verbose=1 -gen-run-scheme=false -run-scheme-package=all ${TESTDIR}/jtt/bytecode ${TESTDIR}/jtt/except ${TESTDIR}/jtt/jdk ${TESTDIR}/jtt/hotpath ${TESTDIR}/jtt/jdk ${TESTDIR}/jtt/lang ${TESTDIR}/jtt/loop ${TESTDIR}/jtt/micro ${TESTDIR}/jtt/optimize ${TESTDIR}/jtt/reflect ${TESTDIR}/jtt/threads ${TESTDIR}/jtt/hotspot
--- a/runtradebeans.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runtradebeans.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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;
--- a/runxalan.sh Mon Oct 03 23:37:10 2011 +0200 +++ b/runxalan.sh Thu Oct 06 17:14:21 2011 +0200 @@ -7,10 +7,6 @@ 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;
--- a/src/share/vm/graal/graalVMEntries.cpp Mon Oct 03 23:37:10 2011 +0200 +++ b/src/share/vm/graal/graalVMEntries.cpp Thu Oct 06 17:14:21 2011 +0200 @@ -979,8 +979,10 @@ if (CURRENT_ENV == NULL) { Arena arena; ciEnv env(&arena); + ResourceMark rm; CodeInstaller installer(JNIHandles::resolve(targetMethod)); } else { + ResourceMark rm; CodeInstaller installer(JNIHandles::resolve(targetMethod)); } } @@ -992,8 +994,10 @@ if (CURRENT_ENV == NULL) { Arena arena; ciEnv env(&arena); + ResourceMark rm; CodeInstaller installer(JNIHandles::resolve(targetMethod), id); } else { + ResourceMark rm; CodeInstaller installer(JNIHandles::resolve(targetMethod), id); } return id;