changeset 3698:9b5611392eb9

Merge
author Gilles Duboscq <gilles.m.duboscq@gmail.com>
date Thu, 24 Nov 2011 17:27:17 +0100
parents 872e949a0827 (current diff) 7c26db3259c6 (diff)
children b5c649e4e700
files
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp	Thu Nov 24 17:25:39 2011 +0100
+++ b/src/share/vm/graal/graalCompiler.cpp	Thu Nov 24 17:27:17 2011 +0100
@@ -80,11 +80,12 @@
         vm_abort(false);
       }
     }
-    VMExits::startCompiler();
-  
-    _initialized = true;
-    if (BootstrapGraal) {
-      VMExits::bootstrap();
+    if (UseCompiler) {
+      VMExits::startCompiler();
+      _initialized = true;
+      if (BootstrapGraal) {
+        VMExits::bootstrap();
+      }
     }
   }
 }