diff src/share/vm/compiler/compileBroker.cpp @ 13018:fc1632f5021a

Merge
author iveresov
date Mon, 28 Oct 2013 17:32:02 -0700
parents a196f1aaec86
children 78da3894b86f 2b8e28fdf503
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp	Fri Oct 25 13:43:39 2013 -0700
+++ b/src/share/vm/compiler/compileBroker.cpp	Mon Oct 28 17:32:02 2013 -0700
@@ -780,6 +780,10 @@
 void CompileBroker::compilation_init() {
   _last_method_compiled[0] = '\0';
 
+  // No need to initialize compilation system if we do not use it.
+  if (!UseCompiler) {
+    return;
+  }
 #ifndef SHARK
   // Set the interface to the current compiler(s).
   int c1_count = CompilationPolicy::policy()->compiler_count(CompLevel_simple);