8225178: [Solaris] os::signal() should call sigaction() with SA_SIGINFO
authorstuefe
Tue, 04 Jun 2019 07:49:58 +0200
changeset 55167 b003077e495c
parent 55166 2ae056696b15
child 55195 8b8d83cf9097
8225178: [Solaris] os::signal() should call sigaction() with SA_SIGINFO Reviewed-by: dcubed, dholmes
src/hotspot/os/solaris/os_solaris.cpp
--- 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)) {