diff src/share/vm/runtime/thread.cpp @ 4559:723df37192d6

Make it possible again to build a real client libjvm, drop the UseGraal flag. Use the --vm option instead of a special -vm option in the bench command
author Gilles Duboscq <duboscq@ssw.jku.at>
date Fri, 10 Feb 2012 17:04:03 +0100
parents 04b9a2566eec
children 33df1aeaebbf
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Fri Feb 10 02:22:23 2012 +0100
+++ b/src/share/vm/runtime/thread.cpp	Fri Feb 10 17:04:03 2012 +0100
@@ -29,7 +29,9 @@
 #include "classfile/vmSymbols.hpp"
 #include "code/scopeDesc.hpp"
 #include "compiler/compileBroker.hpp"
+#ifdef GRAAL
 #include "graal/graalCompiler.hpp"
+#endif
 #include "interpreter/interpreter.hpp"
 #include "interpreter/linkResolver.hpp"
 #include "interpreter/oopMapCache.hpp"
@@ -3017,7 +3019,10 @@
 
 static void compiler_thread_entry(JavaThread* thread, TRAPS) {
   assert(thread->is_Compiler_thread(), "must be compiler thread");
-  //CompileBroker::compiler_thread_loop();
+// XXX (gd) currently we still start c1 compiler threads even with Graal, they just die immediately, more compileBroker cleanup is needed to eliminate that
+#ifndef GRAAL
+  CompileBroker::compiler_thread_loop();
+#endif
 }
 
 // Create a CompilerThread