Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8263603: Remove leftovers of "FPE_FLT..." type signals from regular signal handling code #3175

Draft
wants to merge 3 commits into
base: master
from
Draft
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

@@ -278,6 +278,10 @@ bool PosixSignals::pd_hotspot_signal_handler(int sig, siginfo_t* info,
pc,
SharedRuntime::
IMPLICIT_DIVIDE_BY_ZERO);
} else if (sig == SIGFPE &&
(info->si_code >= FPE_FLTDIV && info->si_code <= FPE_FLTSUB)) {
tty->print_cr("\nUnexpected si_code %d (of type FPE_FLT...) with SIGFPE.\n", info->si_code);
fatal("Unexpected FPE_FLT signal, this is probably a bug in the OS");
#else
if (sig == SIGFPE /* && info->si_code == FPE_INTDIV */) {
// HACK: si_code does not work on linux 2.2.12-20!!!
ProTip! Use n and p to navigate between commits in a pull request.