RFR: 8329351: add runtime/Monitor/TestRecursiveLocking.java for recursive Java monitor stress testing

Coleen Phillimore coleenp at openjdk.org
Fri Apr 19 20:48:29 UTC 2024


On Thu, 18 Apr 2024 21:48:48 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

>> AFAIK the files should not matter in this case, the @test matters. Got same info from the quality team.
>
> Each comment block that begins with an `@test` will execute each `@run` in
> the comment block serially.
> 
> Each separate `@test` block will run in parallel if JOBS is > 1 and there are
> resources available for parallel testing. There are a total of 6 separate `@test`
> comment blocks so it's possible that there will be 6 parallel executions.
> 
> Each of the 6 separate `@test` comment blocks contains 3 `@run` commands
> so each of the 6 `@test` comment blocks will serially execute the 3 `@run`
> commands in their own comment block.
> 
> If you put all of the `@test` directives in a single comment block, then all of the
> `@run` commands will execute serially. However, in this case, it won't work right
> because each of the 6 `@test` comment blocks contains various `@requires`
> directives that would conflict with each other if they were all in the same comment
> block.

Ok, good.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18664#discussion_r1572936913


More information about the hotspot-runtime-dev mailing list