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

Joachim Kern jkern at openjdk.org
Thu Dec 14 16:03:49 UTC 2023


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.

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

Commit messages:
 - Backport 464dc3dab540a36aeea76dbeea548c600df58763

Changes: https://git.openjdk.org/jdk21u-dev/pull/30/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=30&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8319633
  Stats: 9 lines in 1 file changed: 9 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/30.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/30/head:pull/30

PR: https://git.openjdk.org/jdk21u-dev/pull/30


More information about the jdk-updates-dev mailing list