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

Joachim Kern jkern at openjdk.org
Mon Nov 27 10:17:38 UTC 2023


On Thu, 23 Nov 2023 16:49:18 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.
>> 
>> 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 linux build error

I switched to the -Xint solution as proposed. Thank you for your help.

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

PR Comment: https://git.openjdk.org/jdk/pull/16797#issuecomment-1827538150


More information about the hotspot-runtime-dev mailing list