8225178: [Solaris] os::signal() should call sigaction() with SA_SIGINFO
Reviewed-by: dcubed, dholmes
--- a/src/hotspot/os/solaris/os_solaris.cpp Mon Jun 03 10:28:03 2019 +0200
+++ b/src/hotspot/os/solaris/os_solaris.cpp Tue Jun 04 07:49:58 2019 +0200
@@ -2027,6 +2027,7 @@
struct sigaction sigAct, oldSigAct;
sigfillset(&(sigAct.sa_mask));
sigAct.sa_flags = SA_RESTART & ~SA_RESETHAND;
+ sigAct.sa_flags |= SA_SIGINFO;
sigAct.sa_handler = CAST_TO_FN_PTR(sa_handler_t, handler);
if (sigaction(signal_number, &sigAct, &oldSigAct)) {