hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 8330 5f6046a69677
parent 8102 0edfdab48098
parent 8326 752682831ac6
child 8672 26a427ab6f32
--- a/hotspot/src/share/vm/compiler/compileBroker.cpp	Fri Feb 11 15:32:03 2011 -0800
+++ b/hotspot/src/share/vm/compiler/compileBroker.cpp	Mon Feb 14 14:36:29 2011 -0800
@@ -768,7 +768,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);
   }