changeset 3540:85625aff715b

Can use now -XX:-UseGraal for benchmark scripts.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Thu, 11 Aug 2011 11:44:20 +0200
parents e54641d0d012
children f3ce30df0218
files runjython.sh src/share/vm/prims/jni.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runjython.sh	Wed Aug 10 16:30:51 2011 +0200
+++ b/runjython.sh	Thu Aug 11 11:44:20 2011 +0200
@@ -15,6 +15,6 @@
   echo "DACAPO is not defined. It must point to a Dacapo benchmark directory."
   exit 1;
 fi
-COMMAND="${JDK7}/bin/java -client -d64 -graal -Xms1g -Xmx2g -esa -classpath ${DACAPO}/dacapo-9.12-bach.jar -XX:-GraalBailoutIsFatal -G:-QuietBailout $* Harness --preserve -n 20 jython"
+COMMAND="${JDK7}/bin/java -client -d64 -graal -Xms1g -Xmx2g -esa -classpath ${DACAPO}/dacapo-9.12-bach.jar -XX:-GraalBailoutIsFatal -G:-QuietBailout $* Harness --preserve -n 10 jython"
 echo $COMMAND
 $COMMAND
--- a/src/share/vm/prims/jni.cpp	Wed Aug 10 16:30:51 2011 +0200
+++ b/src/share/vm/prims/jni.cpp	Thu Aug 11 11:44:20 2011 +0200
@@ -3369,7 +3369,7 @@
        JvmtiExport::post_thread_start(thread);
     }
 
-    if (BootstrapGraal) {
+    if (UseGraal && BootstrapGraal) {
       CompileBroker::bootstrap_graal();
     }