Mercurial > hg > graal-compiler
comparison src/share/vm/oops/instanceKlass.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 | af0e42dad358 |
children | ad431bf0de07 |
comparison
equal
deleted
inserted
replaced
16003:83433cf49019 | 16006:66a9286203a2 |
---|---|
59 #include "services/threadService.hpp" | 59 #include "services/threadService.hpp" |
60 #include "utilities/dtrace.hpp" | 60 #include "utilities/dtrace.hpp" |
61 #include "utilities/macros.hpp" | 61 #include "utilities/macros.hpp" |
62 #ifdef GRAAL | 62 #ifdef GRAAL |
63 #include "classfile/javaAssertions.hpp" | 63 #include "classfile/javaAssertions.hpp" |
64 #include "graal/graalVMToCompiler.hpp" | 64 #include "graal/graalRuntime.hpp" |
65 #endif | 65 #endif |
66 #if INCLUDE_ALL_GCS | 66 #if INCLUDE_ALL_GCS |
67 #include "gc_implementation/concurrentMarkSweep/cmsOopClosures.inline.hpp" | 67 #include "gc_implementation/concurrentMarkSweep/cmsOopClosures.inline.hpp" |
68 #include "gc_implementation/g1/g1CollectedHeap.inline.hpp" | 68 #include "gc_implementation/g1/g1CollectedHeap.inline.hpp" |
69 #include "gc_implementation/g1/g1OopClosures.inline.hpp" | 69 #include "gc_implementation/g1/g1OopClosures.inline.hpp" |
1207 } | 1207 } |
1208 | 1208 |
1209 #ifdef GRAAL | 1209 #ifdef GRAAL |
1210 if (this_oop->is_subtype_of(SystemDictionary::Node_klass())) { | 1210 if (this_oop->is_subtype_of(SystemDictionary::Node_klass())) { |
1211 if (this_oop() != SystemDictionary::Node_klass()) { | 1211 if (this_oop() != SystemDictionary::Node_klass()) { |
1212 if (!VMToCompiler::is_HotSpotGraalRuntime_initialized() && JavaAssertions::systemClassDefault() == false) { | 1212 if (!GraalRuntime::is_HotSpotGraalRuntime_initialized() && JavaAssertions::systemClassDefault() == false) { |
1213 // We want to ensure that the process of initializing HotSpotGraalRuntime | 1213 // We want to ensure that the process of initializing HotSpotGraalRuntime |
1214 // is fast since it executes at VM startup. We must avoid triggering | 1214 // is fast since it executes at VM startup. We must avoid triggering |
1215 // class initialization of any Node classes during this process. | 1215 // class initialization of any Node classes during this process. |
1216 ResourceMark rm; | 1216 ResourceMark rm; |
1217 char buf[200]; | 1217 char buf[200]; |