Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/java.cpp @ 16006:66a9286203a2
decoupled Graal runtime initialization and Graal compilation queue initialization
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 03 Jun 2014 11:51:27 +0200 |
parents | 7b999df1dabc |
children | 4481cf549cfc |
comparison
equal
deleted
inserted
replaced
16003:83433cf49019 | 16006:66a9286203a2 |
---|---|
30 #include "compiler/compileBroker.hpp" | 30 #include "compiler/compileBroker.hpp" |
31 #include "compiler/compilerOracle.hpp" | 31 #include "compiler/compilerOracle.hpp" |
32 #include "interpreter/bytecodeHistogram.hpp" | 32 #include "interpreter/bytecodeHistogram.hpp" |
33 #ifdef GRAAL | 33 #ifdef GRAAL |
34 #include "graal/graalCompiler.hpp" | 34 #include "graal/graalCompiler.hpp" |
35 #include "graal/graalVMToCompiler.hpp" | 35 #include "graal/graalRuntime.hpp" |
36 #endif | 36 #endif |
37 #include "memory/genCollectedHeap.hpp" | 37 #include "memory/genCollectedHeap.hpp" |
38 #include "memory/oopFactory.hpp" | 38 #include "memory/oopFactory.hpp" |
39 #include "memory/universe.hpp" | 39 #include "memory/universe.hpp" |
40 #include "oops/constantPool.hpp" | 40 #include "oops/constantPool.hpp" |
487 #ifdef COMPILERGRAAL | 487 #ifdef COMPILERGRAAL |
488 if (GraalCompiler::instance() != NULL) { | 488 if (GraalCompiler::instance() != NULL) { |
489 GraalCompiler::instance()->shutdown(); | 489 GraalCompiler::instance()->shutdown(); |
490 } | 490 } |
491 #endif | 491 #endif |
492 VMToCompiler::shutdownRuntime(); | 492 GraalRuntime::shutdown(); |
493 #endif | 493 #endif |
494 | 494 |
495 // The only difference between this and Win32's _onexit procs is that | 495 // The only difference between this and Win32's _onexit procs is that |
496 // this version is invoked before any threads get killed. | 496 // this version is invoked before any threads get killed. |
497 ExitProc* current = exit_procs; | 497 ExitProc* current = exit_procs; |