hotspot/src/share/vm/runtime/init.cpp
changeset 36074 11263906664c
parent 34666 1c7168ea0034
child 36104 65f01ec9666f
equal deleted inserted replaced
36073:1c0381cc1e1d 36074:11263906664c
   143   if (!universe_post_init()) {
   143   if (!universe_post_init()) {
   144     return JNI_ERR;
   144     return JNI_ERR;
   145   }
   145   }
   146   javaClasses_init();   // must happen after vtable initialization
   146   javaClasses_init();   // must happen after vtable initialization
   147   stubRoutines_init2(); // note: StubRoutines need 2-phase init
   147   stubRoutines_init2(); // note: StubRoutines need 2-phase init
       
   148   MethodHandles::generate_adapters();
   148   CodeCacheExtensions::complete_step(CodeCacheExtensionsSteps::StubRoutines2);
   149   CodeCacheExtensions::complete_step(CodeCacheExtensionsSteps::StubRoutines2);
   149 
   150 
   150 #if INCLUDE_NMT
   151 #if INCLUDE_NMT
   151   // Solaris stack is walkable only after stubRoutines are set up.
   152   // Solaris stack is walkable only after stubRoutines are set up.
   152   // On Other platforms, the stack is always walkable.
   153   // On Other platforms, the stack is always walkable.