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

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


On Thu, 7 Sep 2023 13:28:15 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> 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.
>
> test/jdk/sun/security/util/math/TestIntegerModuloP.java line 103:
> 
>> 101:  */
>> 102: 
>> 103: 
> 
> Excess new line.

Updated with Copyright and removed the excess line. Please see latest commit.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15618#discussion_r1318622985



More information about the security-dev mailing list