mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8255734: VM should ignore SIGXFSZ on ppc64, s390 too
Reviewed-by: mdoerr, lucy
This commit is contained in:
parent
ceab9f3248
commit
54c8813254
3 changed files with 3 additions and 3 deletions
|
@ -184,7 +184,7 @@ JVM_handle_aix_signal(int sig, siginfo_t* info, void* ucVoid, int abort_if_unrec
|
||||||
// avoid unnecessary crash when libjsig is not preloaded, try handle signals
|
// avoid unnecessary crash when libjsig is not preloaded, try handle signals
|
||||||
// that do not require siginfo/ucontext first.
|
// that do not require siginfo/ucontext first.
|
||||||
|
|
||||||
if (sig == SIGPIPE) {
|
if (sig == SIGPIPE || sig == SIGXFSZ) {
|
||||||
if (PosixSignals::chained_handler(sig, info, ucVoid)) {
|
if (PosixSignals::chained_handler(sig, info, ucVoid)) {
|
||||||
return 1;
|
return 1;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -206,7 +206,7 @@ JVM_handle_linux_signal(int sig,
|
||||||
// avoid unnecessary crash when libjsig is not preloaded, try handle signals
|
// avoid unnecessary crash when libjsig is not preloaded, try handle signals
|
||||||
// that do not require siginfo/ucontext first.
|
// that do not require siginfo/ucontext first.
|
||||||
|
|
||||||
if (sig == SIGPIPE) {
|
if (sig == SIGPIPE || sig == SIGXFSZ) {
|
||||||
if (PosixSignals::chained_handler(sig, info, ucVoid)) {
|
if (PosixSignals::chained_handler(sig, info, ucVoid)) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -227,7 +227,7 @@ JVM_handle_linux_signal(int sig,
|
||||||
// avoid unnecessary crash when libjsig is not preloaded, try handle signals
|
// avoid unnecessary crash when libjsig is not preloaded, try handle signals
|
||||||
// that do not require siginfo/ucontext first.
|
// that do not require siginfo/ucontext first.
|
||||||
|
|
||||||
if (sig == SIGPIPE) {
|
if (sig == SIGPIPE || sig == SIGXFSZ) {
|
||||||
if (PosixSignals::chained_handler(sig, info, ucVoid)) {
|
if (PosixSignals::chained_handler(sig, info, ucVoid)) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue