[jdk21u-dev] Integrated: 8319633: runtime/posixSig/TestPosixSig.java intermittent timeouts on UNIX
Joachim Kern
jkern at openjdk.org
Mon Dec 18 11:07:50 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.
This pull request has now been integrated.
Changeset: dcf6eea1
Author: Joachim Kern <jkern at openjdk.org>
Committer: Martin Doerr <mdoerr at openjdk.org>
URL: https://git.openjdk.org/jdk21u-dev/commit/dcf6eea1e53f913068340142fd925dfc89b10d8c
Stats: 9 lines in 1 file changed: 9 ins; 0 del; 0 mod
8319633: runtime/posixSig/TestPosixSig.java intermittent timeouts on UNIX
Reviewed-by: mbaesken, mdoerr
-------------
PR: https://git.openjdk.org/jdk21u-dev/pull/30
More information about the jdk-updates-dev
mailing list