--- old/src/share/vm/runtime/thread.cpp 2015-09-15 11:20:13.226623685 +0200 +++ new/src/share/vm/runtime/thread.cpp 2015-09-15 11:20:13.134623682 +0200 @@ -3292,10 +3292,6 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) { extern void JDK_Version_init(); - // Record VM creation timing statistics - TraceVmCreationTime create_vm_timer; - create_vm_timer.start(); - // Preinitialize version info. VM_Version::early_initialize(); @@ -3311,6 +3307,10 @@ // Initialize the os module before using TLS os::init(); + // Record VM creation timing statistics + TraceVmCreationTime create_vm_timer; + create_vm_timer.start(); + // Initialize system properties. Arguments::init_system_properties();