-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 17, 18, 19
-
b07
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8281068 | 17.0.3 | Xin Liu | P4 | Resolved | Fixed | b01 |
There are 2 applications for this signal.
1. There's a handshake protocol between sun.tools.attach and HotSpot. VirtualMachineImpl sends SIGQUIT(3) if the AttachListener has not been initialized. It expects "Signal Dispatcher" to handle SIGQUIT and create AttachListener.
2. POSIX systems use SIGQUIT as SIGBREAK. After AttachListener is up, HotSpot will reinterpret the signal for thread dump.
It is possible that HotSpot is still initializing in Threads::create_vm() when SIGQUIT arrives. We should change JVM_HANDLE_XXX_SIGNAL to catch SIGQUIT and ignore it. It is installed os::init_2() and should cover the early stage of initialization. Later on, os::initialize_jdk_signal_support() still overwrites the signal handler of SIGQUIT if ReduceSignalUsage is false(default).
- backported by
-
JDK-8281068 VM does not handle SIGQUIT during initialization
- Resolved
- relates to
-
JDK-8284331 Add sanity check for signal handler modification warning.
- Resolved
-
JDK-8292695 SIGQUIT and jcmd attaching mechanism does not work with signal chaining library
- Resolved
-
JDK-8283337 Posix signal handler modification warning triggering incorrectly
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/c03b95dc
-
Commit openjdk/jdk/9bf6ffa1
-
Review openjdk/jdk17u-dev/137
-
Review openjdk/jdk/7003