< prev index next >

src/hotspot/share/runtime/thread.cpp

Print this page
rev 49255 : 8191101: Show register content in hs-err file on assert
Reviewed-by:

*** 3656,3665 **** --- 3656,3672 ---- HOTSPOT_VM_INIT_BEGIN(); // Timing (must come after argument parsing) TraceTime timer("Create VM", TRACETIME_LOG(Info, startuptime)); + // Initialize assert poison page mechanism. + #ifdef CAN_SHOW_REGISTERS_ON_ASSERT + if (ShowRegistersOnAssert) { + initialize_assert_poison(); + } + #endif // CAN_SHOW_REGISTERS_ON_ASSERT + // Initialize the os module after parsing the args jint os_init_2_result = os::init_2(); if (os_init_2_result != JNI_OK) return os_init_2_result; SafepointMechanism::initialize();
< prev index next >