On Thu, 6 Oct 2022 14:26:27 GMT, Serguei Spitsyn <sspit...@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

Reply via email to