Skip to content

Commit 54c8813

Browse files
committedNov 2, 2020
8255734: VM should ignore SIGXFSZ on ppc64, s390 too
Reviewed-by: mdoerr, lucy
1 parent ceab9f3 commit 54c8813

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎src/hotspot/os_cpu/aix_ppc/os_aix_ppc.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ JVM_handle_aix_signal(int sig, siginfo_t* info, void* ucVoid, int abort_if_unrec
184184
// avoid unnecessary crash when libjsig is not preloaded, try handle signals
185185
// that do not require siginfo/ucontext first.
186186

187-
if (sig == SIGPIPE) {
187+
if (sig == SIGPIPE || sig == SIGXFSZ) {
188188
if (PosixSignals::chained_handler(sig, info, ucVoid)) {
189189
return 1;
190190
} else {

‎src/hotspot/os_cpu/linux_ppc/os_linux_ppc.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ JVM_handle_linux_signal(int sig,
206206
// avoid unnecessary crash when libjsig is not preloaded, try handle signals
207207
// that do not require siginfo/ucontext first.
208208

209-
if (sig == SIGPIPE) {
209+
if (sig == SIGPIPE || sig == SIGXFSZ) {
210210
if (PosixSignals::chained_handler(sig, info, ucVoid)) {
211211
return true;
212212
} else {

‎src/hotspot/os_cpu/linux_s390/os_linux_s390.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ JVM_handle_linux_signal(int sig,
227227
// avoid unnecessary crash when libjsig is not preloaded, try handle signals
228228
// that do not require siginfo/ucontext first.
229229

230-
if (sig == SIGPIPE) {
230+
if (sig == SIGPIPE || sig == SIGXFSZ) {
231231
if (PosixSignals::chained_handler(sig, info, ucVoid)) {
232232
return true;
233233
} else {

0 commit comments

Comments
 (0)
Please sign in to comment.