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

David Holmes dholmes at openjdk.org
Tue Aug 23 00:31:35 UTC 2022


On Mon, 22 Aug 2022 22:50:51 GMT, Man Cao <manc at openjdk.org> wrote:

>> There can be issues using vmTestbase as a library, simply due to the fact that jtreg does not handle libraries particularly well and we can end up with NoClassDefFoundError at runtime due to "split packages".
>
> Should I implement sendCtrlBreak() outside of /vmTestbase in this PR then?
> The new test did run and pass on Github pre-submit check.

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?

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

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


More information about the hotspot-runtime-dev mailing list