RFR: 8277353: java/security/MessageDigest/ThreadSafetyTest.java test times out

Weijun Wang weijun at openjdk.java.net
Thu Dec 2 00:29:28 UTC 2021


On Wed, 1 Dec 2021 19:29:36 GMT, Sibabrata Sahoo <ssahoo at openjdk.org> wrote:

> > Can you lower the `threadsFactor` or `duration`? Or set an upper limit for `nTasks`?
> 
> I can reduce the threadFactor and duration to close to half(threadsFactor=2 and duration=2 Or hardcode nTasks=20) and i think there still will be enough threads to verify threadsafety. In that case default JTREG timeout period should be enough and no need for any additional timeout with @run tag.

Maybe you can contact the author of this test to see if that's enough.

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

PR: https://git.openjdk.java.net/jdk/pull/6626



More information about the security-dev mailing list