[jdk21u-dev] RFR: 8319633: runtime/posixSig/TestPosixSig.java intermittent timeouts on UNIX

Martin Doerr mdoerr at openjdk.org
Mon Dec 18 10:41:44 UTC 2023


On Thu, 14 Dec 2023 15:56:52 GMT, Joachim Kern <jkern at openjdk.org> wrote:

> Every 1-2 weeks we run into timeouts when running jtreg test runtime/posixSig/TestPosixSig.java on UNIX.
> The thread stack shows that we are in line 54 of TestPosixSig.java (callstack see below).
> 
> The reason is the following: The test registers a new dummy signal handler for SIGILL, without delegating the task to the previous handler in the chain. In case the VM then calls a Java method marked as not-entrant at least on PPC64 a SIGILL is raised. Because this is not handled by the registered handler the SIGILL will happen again and again in an endless recursion.
> One solution would be to run the test in interpreted mode.

LGTM.

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

Marked as reviewed by mdoerr (Reviewer).

PR Review: https://git.openjdk.org/jdk21u-dev/pull/30#pullrequestreview-1786509526


More information about the jdk-updates-dev mailing list