diff src/share/vm/compiler/compileBroker.cpp @ 2273:2ab52cda08e5

Merge with OpenJDK.
author Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
date Thu, 03 Mar 2011 19:25:53 +0100
parents 999f8086cc4f 850b2295a494
children 0654ee04b214
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp	Thu Feb 24 13:41:58 2011 +0100
+++ b/src/share/vm/compiler/compileBroker.cpp	Thu Mar 03 19:25:53 2011 +0100
@@ -845,7 +845,9 @@
 // Initialize the compilation queue
 void CompileBroker::init_compiler_threads(int c1_compiler_count, int c2_compiler_count) {
   EXCEPTION_MARK;
+#ifndef ZERO
   assert(c2_compiler_count > 0 || c1_compiler_count > 0, "No compilers?");
+#endif // !ZERO
   if (c2_compiler_count > 0) {
     _c2_method_queue  = new CompileQueue("C2MethodQueue",  MethodCompileQueue_lock);
   }