hotspot/src/share/vm/runtime/thread.cpp
changeset 31371 311143309e73
parent 30764 fec48bf5a827
child 31373 21f527ce09e0
equal deleted inserted replaced
31362:8957ccbb5821 31371:311143309e73
    52 #include "runtime/atomic.inline.hpp"
    52 #include "runtime/atomic.inline.hpp"
    53 #include "runtime/biasedLocking.hpp"
    53 #include "runtime/biasedLocking.hpp"
    54 #include "runtime/deoptimization.hpp"
    54 #include "runtime/deoptimization.hpp"
    55 #include "runtime/fprofiler.hpp"
    55 #include "runtime/fprofiler.hpp"
    56 #include "runtime/frame.inline.hpp"
    56 #include "runtime/frame.inline.hpp"
       
    57 #include "runtime/globals.hpp"
    57 #include "runtime/init.hpp"
    58 #include "runtime/init.hpp"
    58 #include "runtime/interfaceSupport.hpp"
    59 #include "runtime/interfaceSupport.hpp"
    59 #include "runtime/java.hpp"
    60 #include "runtime/java.hpp"
    60 #include "runtime/javaCalls.hpp"
    61 #include "runtime/javaCalls.hpp"
    61 #include "runtime/jniPeriodicChecker.hpp"
    62 #include "runtime/jniPeriodicChecker.hpp"
  3301   os::init_before_ergo();
  3302   os::init_before_ergo();
  3302 
  3303 
  3303   jint ergo_result = Arguments::apply_ergo();
  3304   jint ergo_result = Arguments::apply_ergo();
  3304   if (ergo_result != JNI_OK) return ergo_result;
  3305   if (ergo_result != JNI_OK) return ergo_result;
  3305 
  3306 
       
  3307   // Final check of all arguments after ergonomics which may change values.
       
  3308   if (!CommandLineFlags::check_all_ranges_and_constraints()) {
       
  3309     return JNI_EINVAL;
       
  3310   }
       
  3311 
  3306   if (PauseAtStartup) {
  3312   if (PauseAtStartup) {
  3307     os::pause();
  3313     os::pause();
  3308   }
  3314   }
  3309 
  3315 
  3310   HOTSPOT_VM_INIT_BEGIN();
  3316   HOTSPOT_VM_INIT_BEGIN();