< prev index next >

src/hotspot/share/runtime/init.cpp

Print this page
@@ -127,10 +127,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).
    icache_init2();                 // depends on VM_Version for choosing the mechanism
    // initialize stubs needed before we can init the universe
    preuniverse_stubs_init();
    jint status = universe_init();  // dependent on codeCache_init and preuniverse_stubs_init
    if (status != JNI_OK) {

@@ -157,11 +158,10 @@
    SharedRuntime::generate_jfr_stubs();
  #endif
    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();
    AOTCodeCache::init_shared_blobs_table();  // need this after generate_stubs
    SharedRuntime::init_adapter_library(); // do this after AOTCodeCache::init_shared_blobs_table
    return JNI_OK;
  }
< prev index next >