32 #include "gc/shared/cardTable.hpp" 33 #include "gc/shared/cardTableBarrierSet.hpp" 34 #include "gc/shared/collectedHeap.hpp" 35 #include "interpreter/interpreter.hpp" 36 #include "memory/resourceArea.hpp" 37 #include "opto/addnode.hpp" 38 #include "opto/castnode.hpp" 39 #include "opto/convertnode.hpp" 40 #include "opto/graphKit.hpp" 41 #include "opto/idealKit.hpp" 42 #include "opto/intrinsicnode.hpp" 43 #include "opto/locknode.hpp" 44 #include "opto/machnode.hpp" 45 #include "opto/opaquenode.hpp" 46 #include "opto/parse.hpp" 47 #include "opto/rootnode.hpp" 48 #include "opto/runtime.hpp" 49 #include "runtime/deoptimization.hpp" 50 #include "runtime/sharedRuntime.hpp" 51 #if INCLUDE_ALL_GCS 52 #include "gc/g1/g1ThreadLocalData.hpp" 53 #endif // INCLUDE_ALL_GCS 54 55 //----------------------------GraphKit----------------------------------------- 56 // Main utility constructor. 57 GraphKit::GraphKit(JVMState* jvms) 58 : Phase(Phase::Parser), 59 _env(C->env()), 60 _gvn(*C->initial_gvn()) 61 { 62 _exceptions = jvms->map()->next_exception(); 63 if (_exceptions != NULL) jvms->map()->set_next_exception(NULL); 64 set_jvms(jvms); 65 } 66 67 // Private constructor for parser. 68 GraphKit::GraphKit() 69 : Phase(Phase::Parser), 70 _env(C->env()), 71 _gvn(*C->initial_gvn()) 72 { | 32 #include "gc/shared/cardTable.hpp" 33 #include "gc/shared/cardTableBarrierSet.hpp" 34 #include "gc/shared/collectedHeap.hpp" 35 #include "interpreter/interpreter.hpp" 36 #include "memory/resourceArea.hpp" 37 #include "opto/addnode.hpp" 38 #include "opto/castnode.hpp" 39 #include "opto/convertnode.hpp" 40 #include "opto/graphKit.hpp" 41 #include "opto/idealKit.hpp" 42 #include "opto/intrinsicnode.hpp" 43 #include "opto/locknode.hpp" 44 #include "opto/machnode.hpp" 45 #include "opto/opaquenode.hpp" 46 #include "opto/parse.hpp" 47 #include "opto/rootnode.hpp" 48 #include "opto/runtime.hpp" 49 #include "runtime/deoptimization.hpp" 50 #include "runtime/sharedRuntime.hpp" 51 #if INCLUDE_ALL_GCS 52 #include "gc/g1/g1CardTable.hpp" 53 #include "gc/g1/g1ThreadLocalData.hpp" 54 #include "gc/g1/heapRegion.hpp" 55 #endif // INCLUDE_ALL_GCS 56 57 //----------------------------GraphKit----------------------------------------- 58 // Main utility constructor. 59 GraphKit::GraphKit(JVMState* jvms) 60 : Phase(Phase::Parser), 61 _env(C->env()), 62 _gvn(*C->initial_gvn()) 63 { 64 _exceptions = jvms->map()->next_exception(); 65 if (_exceptions != NULL) jvms->map()->set_next_exception(NULL); 66 set_jvms(jvms); 67 } 68 69 // Private constructor for parser. 70 GraphKit::GraphKit() 71 : Phase(Phase::Parser), 72 _env(C->env()), 73 _gvn(*C->initial_gvn()) 74 { |