< prev index next >

src/hotspot/share/runtime/init.cpp

Print this page
@@ -122,10 +122,11 @@
    bytecodes_init();
    classLoader_init1();
    compilationPolicy_init();
    codeCache_init();
    VM_Version_init();              // depends on codeCache_init for emitting code
+   VMRegImpl::set_regName();       // need this before generate_stubs (for printing oop maps).
    initial_stubs_init();
    jint status = universe_init();  // dependent on codeCache_init and
                                    // initial_stubs_init and metaspace_init.
    if (status != JNI_OK)
      return status;

@@ -143,11 +144,10 @@
    continuations_init();      // must precede continuation stub generation
    continuation_stubs_init(); // depends on continuations_init
    interpreter_init_stub();   // before methods get loaded
    accessFlags_init();
    InterfaceSupport_init();
-   VMRegImpl::set_regName();  // need this before generate_stubs (for printing oop maps).
    SharedRuntime::generate_stubs();
    return JNI_OK;
  }
  
  jint init_globals2() {
< prev index next >