Integrated: 8315936: Parallelize gc/stress/TestStressG1Humongous.java test

Ian Myers duke at openjdk.org
Thu Sep 28 15:55:35 UTC 2023


On Wed, 27 Sep 2023 11:30:22 GMT, Ian Myers <duke at openjdk.org> wrote:

> TestStressG1Humongous runs in hotspot:tier4 and takes about 900 seconds to run. It is one of the slowest tests in tier4, and it runs when concurrency is generally low due to exclusive adjacent tests. Thus, it limits the effective parallelism of tier4.
> 
> In test main method, there are a few independent test cases, which can be expressed in jtreg to gain parallel execution.
> 
> TestStressG1Humongous current runtime: **4917.51s user 410.97s system 549% cpu 16:10.07 total**
> TestStressG1Humongous parallelized runtime: **4672.49s user 510.17s system 849% cpu 10:10.05 total**
> 
> This change takes the previous `run()` methods out of the main method and instead passes the parameters as part of the `@run` jtreg test annotation, allowing them to be run in parallel.
> 
> The last test runs the longest on its own, and this is why the runtime can't be reduced under the 10 minute mark.

This pull request has now been integrated.

Changeset: 3f19df68
Author:    Ian Myers <ianrichr at amazon.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3f19df685c342cef212305cca630331878a24e79
Stats:     45 lines in 1 file changed: 35 ins; 6 del; 4 mod

8315936: Parallelize gc/stress/TestStressG1Humongous.java test

Reviewed-by: shade, tschatzl

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

PR: https://git.openjdk.org/jdk/pull/15943


More information about the hotspot-gc-dev mailing list