RFR: 8272970: Parallelize runtime/InvocationTests/

Aleksey Shipilev shade at openjdk.java.net
Thu Aug 26 07:14:26 UTC 2021


On Thu, 26 Aug 2021 02:38:36 GMT, David Holmes <dholmes at openjdk.org> wrote:

> I can't find any jtreg documentation that indicates that multiple @test entries within a single Java file will be run concurrently. ??

Not sure how well the parallelization aspect is documented, but multiple `@test` blocks per file [imply unique tests, under different labels](https://github.com/openjdk/jtreg/blob/4d06ab3158fc61a34c3b897fa68bab14dca7a438/src/share/doc/javatest/regtest/tag-spec.html#L169-L173), which by extension means they can execute in parallel. We use this technique often in the OpenJDK tests :)

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

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


More information about the hotspot-runtime-dev mailing list