Print this page


Split Split Close
Expand all
Collapse all
          --- old/src/share/vm/runtime/init.cpp
          +++ new/src/share/vm/runtime/init.cpp
↓ open down ↓ 120 lines elided ↑ open up ↑
 121  121    compilationPolicy_init();
 122  122    compileBroker_init();
 123  123    VMRegImpl::set_regName();
 124  124  
 125  125    if (!universe_post_init()) {
 126  126      return JNI_ERR;
 127  127    }
 128  128    javaClasses_init();   // must happen after vtable initialization
 129  129    stubRoutines_init2(); // note: StubRoutines need 2-phase init
 130  130  
 131      -  // Although we'd like to, we can't easily do a heap verify
 132      -  // here because the main thread isn't yet a JavaThread, so
 133      -  // its TLAB may not be made parseable from the usual interfaces.
 134      -  if (VerifyBeforeGC && !UseTLAB &&
 135      -      Universe::heap()->total_collections() >= VerifyGCStartAt) {
 136      -    Universe::heap()->prepare_for_verify();
 137      -    Universe::verify();   // make sure we're starting with a clean slate
 138      -  }
 139      -
 140  131    // All the flags that get adjusted by VM_Version_init and os::init_2
 141  132    // have been set so dump the flags now.
 142  133    if (PrintFlagsFinal) {
 143  134      CommandLineFlags::printFlags(tty, false);
 144  135    }
 145  136  
 146  137    return JNI_OK;
 147  138  }
 148  139  
 149  140  
↓ open down ↓ 29 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX