< prev index next >

src/hotspot/share/runtime/thread.cpp

Print this page
rev 51882 : imported patch 8211176-eager-object-monitor-init

*** 3603,3612 **** --- 3603,3615 ---- Arguments::process_sun_java_launcher_properties(args); // Initialize the os module os::init(); + // Initialize the ObjectMonitor module + ObjectMonitor::init(); + // Record VM creation timing statistics TraceVmCreationTime create_vm_timer; create_vm_timer.start(); // Initialize system properties.
*** 3719,3729 **** // Enable guard page *after* os::create_main_thread(), otherwise it would // crash Linux VM, see notes in os_linux.cpp. main_thread->create_stack_guard_pages(); // Initialize Java-Level synchronization subsystem ! ObjectMonitor::Initialize(); // Initialize global modules jint status = init_globals(); if (status != JNI_OK) { main_thread->smr_delete(); --- 3722,3732 ---- // Enable guard page *after* os::create_main_thread(), otherwise it would // crash Linux VM, see notes in os_linux.cpp. main_thread->create_stack_guard_pages(); // Initialize Java-Level synchronization subsystem ! ObjectMonitor::init_2(); // Initialize global modules jint status = init_globals(); if (status != JNI_OK) { main_thread->smr_delete();
< prev index next >