comparison src/share/vm/compiler/compileBroker.cpp @ 1692:d2ede61b7a12

6976186: integrate Shark HotSpot changes Summary: Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure. Reviewed-by: kvn, twisti Contributed-by: Gary Benson <gbenson@redhat.com>
author twisti
date Wed, 11 Aug 2010 05:51:21 -0700
parents e9ff18c4ace7
children a62d332029cf
comparison
equal deleted inserted replaced
1691:4a665be40fd3 1692:d2ede61b7a12
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