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

Joachim Kern jkern at openjdk.org
Fri Dec 15 13:13:40 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.

/Integrate

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/30#issuecomment-1857860120


More information about the jdk-updates-dev mailing list