hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 22853 308672304981
parent 22851 4c4b6a45be43
child 22872 b6902ee5bc8d
equal deleted inserted replaced
22852:1063026e8cee 22853:308672304981
   996 }
   996 }
   997 
   997 
   998 
   998 
   999 void CompileBroker::init_compiler_threads(int c1_compiler_count, int c2_compiler_count) {
   999 void CompileBroker::init_compiler_threads(int c1_compiler_count, int c2_compiler_count) {
  1000   EXCEPTION_MARK;
  1000   EXCEPTION_MARK;
  1001 #if !defined(ZERO) && !defined(SHARK) && !defined(PPC64)
  1001 #if !defined(ZERO) && !defined(SHARK)
  1002   assert(c2_compiler_count > 0 || c1_compiler_count > 0, "No compilers?");
  1002   assert(c2_compiler_count > 0 || c1_compiler_count > 0, "No compilers?");
  1003 #endif // !ZERO && !SHARK
  1003 #endif // !ZERO && !SHARK
  1004   // Initialize the compilation queue
  1004   // Initialize the compilation queue
  1005   if (c2_compiler_count > 0) {
  1005   if (c2_compiler_count > 0) {
  1006     _c2_method_queue  = new CompileQueue("C2MethodQueue",  MethodCompileQueue_lock);
  1006     _c2_method_queue  = new CompileQueue("C2MethodQueue",  MethodCompileQueue_lock);