< prev index next >

src/hotspot/share/runtime/init.cpp

Print this page
*** 125,10 ***
--- 125,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
    // stub routines in initial blob are referenced by later generated code
    initial_stubs_init();
    // stack overflow exception blob is referenced by the interpreter
    SharedRuntime::generate_initial_stubs();

*** 153,11 ***
    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;
  }
--- 154,10 ---
< prev index next >