RFR: JDK-8319633: runtime/posixSig/TestPosixSig.java intermittent timeouts on UNIX [v3]
David Holmes
dholmes at openjdk.org
Mon Nov 27 11:42:06 UTC 2023
On Mon, 27 Nov 2023 10:17:35 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:
>
> switch to Xint solution
Seems fine. Thanks
-------------
Marked as reviewed by dholmes (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/16797#pullrequestreview-1750238370
More information about the hotspot-runtime-dev
mailing list