How the JVM processes signals
When a signal is raised that is of interest to the JVM, a signal handler is called. This signal handler determines whether it has been called for a Java™ or non-Java thread.
To learn more about JVM signals, see Signal handling