Integrated: 8315683: Parallelize java/util/concurrent/tck/JSR166TestCase.java
Soumadipta Roy
duke at openjdk.org
Thu Sep 14 19:25:50 UTC 2023
On Thu, 7 Sep 2023 13:55:18 GMT, Soumadipta Roy <duke at openjdk.org> wrote:
> This test is running in tier1, and takes about 400 seconds to complete. Thus, it drags the execution time of tier1 on large machines. The commit includes changing the sequential run of test cases in java/util/concurrent/tck/JSR166TestCase.java to the best possible combination of parallelization to reduce the total runtime of the overall test and causing least possible change to user and system times. The below comparison shows existing and newer combinations of parallelizations:
>
> * before : **200.64s user 20.94s system 204% cpu 1:48.47 total**
> * fully parallel : **308.84s user 23.75s system 479% cpu 1:09.42 total**
> * default-details-tck : **244.69s user 22.03s system 314% cpu 1:24.94 total**
> * default-fjp_details-others : **260.12s user 24.47s system 404% cpu 1:10.31 total**
>
> Based on the comparison above, the fourth combination has a result very close to full parallelization and at the same time having the least deviation of system and user times among the newer combinations. Hence the commit includes the changes corresponding to the fourth combination.
This pull request has now been integrated.
Changeset: 44152616
Author: Soumadipta Roy <roysouma at amazon.com>
Committer: Martin Buchholz <martin at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4415261688dc258b6d254668bcf8818c61cc65ea
Stats: 34 lines in 1 file changed: 27 ins; 4 del; 3 mod
8315683: Parallelize java/util/concurrent/tck/JSR166TestCase.java
Reviewed-by: martin, shade
-------------
PR: https://git.openjdk.org/jdk/pull/15619
More information about the core-libs-dev
mailing list