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

Joachim Kern jkern at openjdk.org
Mon Nov 27 17:59:29 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.
> 
> 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 add a delegation to the hotspot signal handler, which is the previous handler in the chain.

Joachim Kern has updated the pull request incrementally with one additional commit since the last revision:

  fix typo

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16797/files
  - new: https://git.openjdk.org/jdk/pull/16797/files/714c3c56..aa01f8c2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16797&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16797&range=03-04

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/16797.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16797/head:pull/16797

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


More information about the hotspot-runtime-dev mailing list