8200608: Build failures after JDK-8191101 (Show register content in hs-err file on assert)
Reviewed-by: dholmes, tschatzl
This commit is contained in:
parent
e3752f15c9
commit
d2ad998e7d
@ -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);
|
os::protect_memory((char*)g_assert_poison, os::vm_page_size(), os::MEM_PROT_RWX);
|
||||||
// Store Context away.
|
// Store Context away.
|
||||||
if (ucVoid) {
|
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 (Atomic::cmpxchg(my_tid, &g_asserting_thread, (intx)0) == 0) {
|
||||||
if (store_context(ucVoid)) {
|
if (store_context(ucVoid)) {
|
||||||
g_assertion_context = &g_stored_assertion_context;
|
g_assertion_context = &g_stored_assertion_context;
|
||||||
|
Loading…
Reference in New Issue
Block a user