RFR: 8315683: Parallelize java/util/concurrent/tck/JSR166TestCase.java
Soumadipta Roy
duke at openjdk.org
Thu Sep 7 14:02:54 UTC 2023
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 : make test CONF=macosx-aarch64-server-fastdebug 200.64s user 20.94s system 204% cpu 1:48.47 total
fully parallel : make test CONF=macosx-aarch64-server-fastdebug 308.84s user 23.75s system 479% cpu 1:09.42 total
default-details-tck : make test CONF=macosx-aarch64-server-fastdebug 244.69s user 22.03s system 314% cpu 1:24.94 total
default-fjp_details-tck : make test CONF=macosx-aarch64-server-fastdebug 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.
-------------
Commit messages:
- 8315683: Parallelize java/util/concurrent/tck/JSR166TestCase.java
Changes: https://git.openjdk.org/jdk/pull/15619/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15619&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8315683
Stats: 19 lines in 1 file changed: 15 ins; 2 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/15619.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15619/head:pull/15619
PR: https://git.openjdk.org/jdk/pull/15619
More information about the core-libs-dev
mailing list