This is derived from the discussion thread in https://github.com/openjdk/jdk/pull/23924 (JDK-8351309) review comments.
On regular JDK, signal chaining is not enabled by default. Application can link with libjsig.so or use LD_PRELOAD to enable libjsig signal chaining. See https://docs.oracle.com/en/java/javase/23/troubleshoot/handle-signals-and-exceptions.html#GUID-CB49A2A7-2A9F-4C18-948F-6D4A96FF688D
On static JDK, we need to decide if the signal chaining capability provided by libjsig should be support on static JDK. Based on my brief testing, signal chaining does work when libjsig is statically linked.
On regular JDK, signal chaining is not enabled by default. Application can link with libjsig.so or use LD_PRELOAD to enable libjsig signal chaining. See https://docs.oracle.com/en/java/javase/23/troubleshoot/handle-signals-and-exceptions.html#GUID-CB49A2A7-2A9F-4C18-948F-6D4A96FF688D
On static JDK, we need to decide if the signal chaining capability provided by libjsig should be support on static JDK. Based on my brief testing, signal chaining does work when libjsig is statically linked.
- relates to
-
JDK-8351309 test/hotspot/jtreg/runtime/posixSig/TestPosixSig.java fails on static-jdk
-
- Resolved
-
-
JDK-8303796 Optionally build fully statically linked JDK image
-
- Open
-