RFR: 8317834: java/lang/Thread/IsAlive.java timed out

Alan Bateman alanb at openjdk.org
Tue Nov 14 17:06:35 UTC 2023


On Tue, 14 Nov 2023 16:41:31 GMT, Darragh Clarke <dclarke at openjdk.org> wrote:

> Currently the `IsAlive` test occasionally times out.
> 
> This PR changes the timeout from `10` to `25` which I think is an adequate increase based on the failures I've seen. Though I'd be happy to change it to another value if someone thinks `25` isn't ideal.

test/jdk/java/lang/Thread/IsAlive.java line 28:

> 26:  * @bug     8305425
> 27:  * @summary Check Thread.isAlive
> 28:  * @run main/othervm/timeout=25 IsAlive

Can it just run with the default timeout, meaning drop /timeout=N ? Also does this test need really need to run in othervm mode?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16659#discussion_r1392935779


More information about the core-libs-dev mailing list