On Wed, 19 Jan 2022 07:59:28 GMT, Xin Liu <x...@openjdk.org> wrote:

> if we install JVM_HANDLE_XXX_SIGNAL conditionally, it will leave java 
> processes with -Xrs unprotected.

That's the idea. ReduceSignalUsage (Xrs) means that the hotspot should leave 
this signal and some others alone:


1. On Solaris and Linux, the signal masks for SIGINT, SIGTERM, SIGHUP,
   and SIGQUIT are not changed by the JVM, and signal handlers for
   these signals are not installed.

because, presumably, the user already installed a handler for this signal and 
does not want the JVM to change it. Matters if  the JVM is embedded into a 
foreign launcher which does its own signal handling.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7003

Reply via email to