On Tue, 12 Nov 2024 23:52:35 GMT, Laurence Cable <larry.ca...@oracle.com> wrote:

> t is not feasible to introspect on the target process to determine if
it is a JVM or not, this is the best case not to send SIGQUIT to a
process that is neither catching nor blocking it, where the default is
to terminate it!

Even if the target process is not terminated with the SIGQUIT it would still be 
more safe to make sure it is a VM process before sending the SIGQUIT signal. I 
wonder if the JDP (Java Discovery Protocol) can be used. Anyway, this 
discussion can be separated from this fix.

There is still this question:
> What mach5 tests were run to make sure the fix caused no regression?

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

PR Comment: https://git.openjdk.org/jdk/pull/21688#issuecomment-2472207465

Reply via email to