RFR(xxs): 8225178: [Solaris] os::signal() should call sigaction() with SA_SIGINFO
Thomas Stüfe
thomas.stuefe at gmail.com
Mon Jun 3 13:56:16 UTC 2019
Hi all,
may I have reviews please for this small patch:
Bug: https://bugs.openjdk.java.net/browse/JDK-8225178
webrev:
http://cr.openjdk.java.net/~stuefe/webrevs/8225178-solaris-sa_siginfo-missing/webrev.00/webrev/
os::signal(), on Solaris, does not specify SA_SIGINFO. This leads to signal
handlers installed with this function - among others, the secondary signal
handler installed during error reporting - to be called without siginfo_t
pointer.
All other platforms specify SA_SIGINFO in os::signal(), and so does the
Solaris-specific code which installs the "big" primary signal handler. At
SAP we run with this fix (specifying SA_SIGINFO) since years.
Thanks, Thomas
More information about the hotspot-runtime-dev
mailing list