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

Man Cao manc at openjdk.org
Thu Sep 8 18:19:48 UTC 2022


On Thu, 8 Sep 2022 10:19:00 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Man Cao has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Move jdk_misc_signal_init() earlier and clarify its comment
>
> test/hotspot/jtreg/runtime/Thread/TestBreakSignalThreadDump.java line 38:
> 
>> 36:  * @bug 8292695
>> 37:  * @summary Check that Ctrl-\ causes HotSpot VM to print a full thread dump when signal chaining is used.
>> 38:  * @requires os.family == "linux" | os.family == "mac"
> 
> Why not just !Windows? Aix, the BSDs, Solaris if this is downported should work too.

https://docs.oracle.com/en/java/javase/17/troubleshoot/handle-signals-and-exceptions.html#GUID-CB49A2A7-2A9F-4C18-948F-6D4A96FF688D says signal chaining is available only on Linux and macOS. Should the doc be updated?

Also, the tests in `test/hotspot/jtreg/runtime/signal/` have "!windows && !aix". I'm not sure why they exclude aix, should this test exclude aix similarly?

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

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


More information about the hotspot-runtime-dev mailing list