mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8227275: Within native OOM error handling, assertions may hang the process
Reviewed-by: mdoerr, coleenp
This commit is contained in:
parent
4b5b4f479c
commit
ac0e72332e
10 changed files with 40 additions and 15 deletions
|
@ -271,8 +271,9 @@ JVM_handle_linux_signal(int sig,
|
|||
|
||||
#ifdef CAN_SHOW_REGISTERS_ON_ASSERT
|
||||
if ((sig == SIGSEGV || sig == SIGBUS) && info != NULL && info->si_addr == g_assert_poison) {
|
||||
handle_assert_poison_fault(ucVoid, info->si_addr);
|
||||
return 1;
|
||||
if (handle_assert_poison_fault(ucVoid, info->si_addr)) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue