< prev index next >
src/os/solaris/vm/os_solaris.cpp
Print this page
*** 2093,2103 ****
extern "C" {
static void UserHandler(int sig, void *siginfo, void *context) {
// Ctrl-C is pressed during error reporting, likely because the error
// handler fails to abort. Let VM die immediately.
! if (sig == SIGINT && is_error_reported()) {
os::die();
}
os::signal_notify(sig);
// We do not need to reinstate the signal handler each time...
--- 2093,2103 ----
extern "C" {
static void UserHandler(int sig, void *siginfo, void *context) {
// Ctrl-C is pressed during error reporting, likely because the error
// handler fails to abort. Let VM die immediately.
! if (sig == SIGINT && VMError::is_error_reported()) {
os::die();
}
os::signal_notify(sig);
// We do not need to reinstate the signal handler each time...
< prev index next >