RFR: 8315684: Parallelize sun/security/util/math/TestIntegerModuloP.java

Ian Myers duke at openjdk.org
Wed Sep 13 21:20:07 UTC 2023


sun/security/util/math/TestIntegerModuloP.java runs in tier2 and takes about 600 seconds to run. Thus, it drags the execution time of tier2 on large machines. We can split the run configurations a bit so that test is more parallel. 

TestIntegerModuloP.java current run time: **235.02s user 6.60s system 119% cpu 3:22.69 total**
TestIntegerModuloP.java parallelized run time: **328.75s user 14.57s system 755% cpu 45.467 total**

This change splits TestIntegerModuloP.java's previously serialized test into 11 separate tests that run in parallel.

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

Commit messages:
 - Updated Copyright and remove excess new line
 - Parallelize sun/security/util/math/TestIntegerModuloP.java

Changes: https://git.openjdk.org/jdk/pull/15618/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15618&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8315684
  Stats: 62 lines in 1 file changed: 60 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/15618.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15618/head:pull/15618

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



More information about the security-dev mailing list