hotspot/src/share/vm/runtime/init.cpp
changeset 33451 0712796e4039
parent 32619 47acec81dcca
child 34195 89011d12ebd3
equal deleted inserted replaced
33450:08222df07d0d 33451:0712796e4039
    69 void vmStructs_init();
    69 void vmStructs_init();
    70 
    70 
    71 void vtableStubs_init();
    71 void vtableStubs_init();
    72 void InlineCacheBuffer_init();
    72 void InlineCacheBuffer_init();
    73 void compilerOracle_init();
    73 void compilerOracle_init();
    74 void compileBroker_init();
    74 bool compileBroker_init();
    75 
    75 
    76 // Initialization after compiler initialization
    76 // Initialization after compiler initialization
    77 bool universe_post_init();  // must happen after compiler_init
    77 bool universe_post_init();  // must happen after compiler_init
    78 void javaClasses_init();  // must happen after vtable initialization
    78 void javaClasses_init();  // must happen after vtable initialization
    79 void stubRoutines_init2(); // note: StubRoutines need 2-phase init
    79 void stubRoutines_init2(); // note: StubRoutines need 2-phase init
   129 #endif // INCLUDE_VM_STRUCTS
   129 #endif // INCLUDE_VM_STRUCTS
   130 
   130 
   131   vtableStubs_init();
   131   vtableStubs_init();
   132   InlineCacheBuffer_init();
   132   InlineCacheBuffer_init();
   133   compilerOracle_init();
   133   compilerOracle_init();
   134   compileBroker_init();
   134   if (!compileBroker_init()) {
       
   135     return JNI_EINVAL;
       
   136   }
   135   VMRegImpl::set_regName();
   137   VMRegImpl::set_regName();
   136 
   138 
   137   if (!universe_post_init()) {
   139   if (!universe_post_init()) {
   138     return JNI_ERR;
   140     return JNI_ERR;
   139   }
   141   }