RFR: 8291429: java/lang/Thread/virtual/ThreadAPI.java timed out on single core system [v2]
Alan Bateman
alanb at openjdk.org
Thu Oct 6 14:56:14 UTC 2022
On Thu, 6 Oct 2022 14:26:27 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
> Just a side note to be aware about a potential problem.
> This won't work correctly if there are more than one such tests executed in VM at the same time.
> Then there can be a race to restore the parallelism value.
> But it seems is not the case.
That's right but jtreg runs tests sequentially in the same VM (when in agentVM mode, and sameVM mode in the past. JUnit does have support for parallelism but we aren't using it in any of these tests.
-------------
PR: https://git.openjdk.org/jdk/pull/10562
More information about the core-libs-dev
mailing list