< prev index next >

src/hotspot/share/runtime/init.cpp

Print this page

 99 
100 void vm_init_globals() {
101   check_ThreadShadow();
102   basic_types_init();
103   eventlog_init();
104   mutex_init();
105   universe_oopstorage_init();
106   perfMemory_init();
107   SuspendibleThreadSet_init();
108 }
109 
110 
111 jint init_globals() {
112   management_init();
113   JvmtiExport::initialize_oop_storage();
114   bytecodes_init();
115   classLoader_init1();
116   compilationPolicy_init();
117   codeCache_init();
118   VM_Version_init();              // depends on codeCache_init for emitting code

119   stubRoutines_init1();
120   jint status = universe_init();  // dependent on codeCache_init and
121                                   // stubRoutines_init1 and metaspace_init.
122   if (status != JNI_OK)
123     return status;
124 
125   AsyncLogWriter::initialize();
126   gc_barrier_stubs_init();  // depends on universe_init, must be before interpreter_init
127   interpreter_init_stub();  // before methods get loaded
128   accessFlags_init();
129   InterfaceSupport_init();
130   VMRegImpl::set_regName(); // need this before generate_stubs (for printing oop maps).
131   SharedRuntime::generate_stubs();
132   universe2_init();  // dependent on codeCache_init and stubRoutines_init1
133   javaClasses_init();// must happen after vtable initialization, before referenceProcessor_init
134   interpreter_init_code();  // after javaClasses_init and before any method gets linked
135   referenceProcessor_init();
136   jni_handles_init();
137 #if INCLUDE_VM_STRUCTS
138   vmStructs_init();
139 #endif // INCLUDE_VM_STRUCTS
140 
141   vtableStubs_init();
142   InlineCacheBuffer_init();
143   compilerOracle_init();
144   dependencyContext_init();
145   dependencies_init();
146 
147   if (!compileBroker_init()) {
148     return JNI_EINVAL;
149   }
150 #if INCLUDE_JVMCI

 99 
100 void vm_init_globals() {
101   check_ThreadShadow();
102   basic_types_init();
103   eventlog_init();
104   mutex_init();
105   universe_oopstorage_init();
106   perfMemory_init();
107   SuspendibleThreadSet_init();
108 }
109 
110 
111 jint init_globals() {
112   management_init();
113   JvmtiExport::initialize_oop_storage();
114   bytecodes_init();
115   classLoader_init1();
116   compilationPolicy_init();
117   codeCache_init();
118   VM_Version_init();              // depends on codeCache_init for emitting code
119   VMRegImpl::set_regName();       // need this before generate_stubs (for printing oop maps).
120   stubRoutines_init1();
121   jint status = universe_init();  // dependent on codeCache_init and
122                                   // stubRoutines_init1 and metaspace_init.
123   if (status != JNI_OK)
124     return status;
125 
126   AsyncLogWriter::initialize();
127   gc_barrier_stubs_init();  // depends on universe_init, must be before interpreter_init
128   interpreter_init_stub();  // before methods get loaded
129   accessFlags_init();
130   InterfaceSupport_init();

131   SharedRuntime::generate_stubs();
132   universe2_init();  // dependent on codeCache_init and stubRoutines_init1
133   javaClasses_init();// must happen after vtable initialization, before referenceProcessor_init
134   interpreter_init_code();  // after javaClasses_init and before any method gets linked
135   referenceProcessor_init();
136   jni_handles_init();
137 #if INCLUDE_VM_STRUCTS
138   vmStructs_init();
139 #endif // INCLUDE_VM_STRUCTS
140 
141   vtableStubs_init();
142   InlineCacheBuffer_init();
143   compilerOracle_init();
144   dependencyContext_init();
145   dependencies_init();
146 
147   if (!compileBroker_init()) {
148     return JNI_EINVAL;
149   }
150 #if INCLUDE_JVMCI
< prev index next >