RFR: 8292695: SIGQUIT and jcmd attaching mechanism does not work with signal chaining library

David Holmes dholmes at openjdk.org
Tue Aug 23 01:38:29 UTC 2022


On Tue, 23 Aug 2022 01:02:05 GMT, Man Cao <manc at openjdk.org> wrote:

>> I'm not sure we need yet-another-signalling-mechanism for tests. Did you look at  ./hotspot/jtreg/runtime/signal/ ? I'm unclear why TestSigquit is not failing due to this issue?
>
> Yes, I saw the tests under hotspot/jtreg/runtime/signal. TestSigquit is not failing due to the `-Xrs` flag, which prevents the JVM from installing any signal handler for SIGQUIT, so that the test can still install its own handler.
> 
> I didn't find any test to check that SIGQUIT would print a thread dump on stdout. It is good to have a test for this functionality.

Okay stick with using the vmTestbase utilities then; if they cause a problem we can address it then. The split library problem tends to show up only on very specific testing combinations.

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

PR: https://git.openjdk.org/jdk/pull/9955


More information about the hotspot-runtime-dev mailing list