mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue