RFR: 8240903: Add test to check that jmod hashes are reproducible [v5]

Dongbo He dongbohe at openjdk.java.net
Fri Apr 8 10:14:41 UTC 2022


On Fri, 8 Apr 2022 09:26:08 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> I think this looks okay. Can you say how long the test runs for you? It creates 130 JMOD files and I'm just wondering if the default timeout is enough when running with debug builds.

The following is the test result on linux x86 with 128 cores, it looks ok.

time make CONF=release run-test TEST=test/jdk/tools/jmod/hashes/HashesOrderTest.java
Finished building target 'run-test' in configuration 'linux-x86_64-server-release'

real	0m24.235s
user	0m52.196s
sys	0m7.170s

time make CONF=slowdebug run-test TEST=test/jdk/tools/jmod/hashes/HashesOrderTest.java
real	2m2.877s
user	5m58.887s
sys	0m10.474s

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

PR: https://git.openjdk.java.net/jdk/pull/7948


More information about the core-libs-dev mailing list