8200608: Build failures after JDK-8191101 (Show register content in hs-err file on assert)

Reviewed-by: dholmes, tschatzl
This commit is contained in:
Aleksey Shipilev 2018-04-04 12:06:31 +02:00
parent e3752f15c9
commit d2ad998e7d

View File

@ -731,7 +731,7 @@ bool handle_assert_poison_fault(const void* ucVoid, const void* faulting_address
os::protect_memory((char*)g_assert_poison, os::vm_page_size(), os::MEM_PROT_RWX);
// Store Context away.
if (ucVoid) {
const jlong my_tid = os::current_thread_id();
const intx my_tid = os::current_thread_id();
if (Atomic::cmpxchg(my_tid, &g_asserting_thread, (intx)0) == 0) {
if (store_context(ucVoid)) {
g_assertion_context = &g_stored_assertion_context;