mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 13:54:38 +02:00
6976186: integrate Shark HotSpot changes
Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure. Reviewed-by: kvn, twisti
This commit is contained in:
parent
c9ac8cc788
commit
d7310fb0f7
67 changed files with 12200 additions and 40 deletions
|
@ -568,6 +568,14 @@ void CompileBroker::compilation_init() {
|
|||
#endif
|
||||
#endif // COMPILER2
|
||||
|
||||
#ifdef SHARK
|
||||
#if defined(COMPILER1) || defined(COMPILER2)
|
||||
#error "Can't use COMPILER1 or COMPILER2 with shark"
|
||||
#endif
|
||||
_compilers[0] = new SharkCompiler();
|
||||
_compilers[1] = _compilers[0];
|
||||
#endif
|
||||
|
||||
// Initialize the CompileTask free list
|
||||
_task_free_list = NULL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue