diff src/share/vm/prims/jni.cpp @ 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 be4ca325525a
children 0e8a2a629afb
line wrap: on
line diff
--- 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();
     }