hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 6187 4fa7845f7c14
parent 5702 201c5cde25bb
child 6270 d628c75fbf48
equal deleted inserted replaced
6186:7eef4cda471c 6187:4fa7845f7c14
   565   _compilers[1] = new C2Compiler();
   565   _compilers[1] = new C2Compiler();
   566 #ifndef COMPILER1
   566 #ifndef COMPILER1
   567   _compilers[0] = _compilers[1];
   567   _compilers[0] = _compilers[1];
   568 #endif
   568 #endif
   569 #endif // COMPILER2
   569 #endif // COMPILER2
       
   570 
       
   571 #ifdef SHARK
       
   572 #if defined(COMPILER1) || defined(COMPILER2)
       
   573 #error "Can't use COMPILER1 or COMPILER2 with shark"
       
   574 #endif
       
   575   _compilers[0] = new SharkCompiler();
       
   576   _compilers[1] = _compilers[0];
       
   577 #endif
   570 
   578 
   571   // Initialize the CompileTask free list
   579   // Initialize the CompileTask free list
   572   _task_free_list = NULL;
   580   _task_free_list = NULL;
   573 
   581 
   574   // Start the CompilerThreads
   582   // Start the CompilerThreads