src/hotspot/share/runtime/thread.cpp
changeset 47995 8ad56b1b2b1f
parent 47903 7f22774a5f42
child 48005 9fd89aabb6cd
equal deleted inserted replaced
47994:5a16da2a3fcb 47995:8ad56b1b2b1f
  3557   HOTSPOT_VM_INIT_BEGIN();
  3557   HOTSPOT_VM_INIT_BEGIN();
  3558 
  3558 
  3559   // Timing (must come after argument parsing)
  3559   // Timing (must come after argument parsing)
  3560   TraceTime timer("Create VM", TRACETIME_LOG(Info, startuptime));
  3560   TraceTime timer("Create VM", TRACETIME_LOG(Info, startuptime));
  3561 
  3561 
  3562   SafepointMechanism::initialize();
       
  3563 
       
  3564   // Initialize the os module after parsing the args
  3562   // Initialize the os module after parsing the args
  3565   jint os_init_2_result = os::init_2();
  3563   jint os_init_2_result = os::init_2();
  3566   if (os_init_2_result != JNI_OK) return os_init_2_result;
  3564   if (os_init_2_result != JNI_OK) return os_init_2_result;
       
  3565 
       
  3566   SafepointMechanism::initialize();
  3567 
  3567 
  3568   jint adjust_after_os_result = Arguments::adjust_after_os();
  3568   jint adjust_after_os_result = Arguments::adjust_after_os();
  3569   if (adjust_after_os_result != JNI_OK) return adjust_after_os_result;
  3569   if (adjust_after_os_result != JNI_OK) return adjust_after_os_result;
  3570 
  3570 
  3571   // Initialize output stream logging
  3571   // Initialize output stream logging