RFR: 8296190: TestMD5Intrinsics and TestMD5MultiBlockIntrinsics don't test the intrinsics [v2]

Evgeny Astigeevich eastigeevich at openjdk.org
Thu Nov 3 03:30:26 UTC 2022


On Thu, 3 Nov 2022 00:19:03 GMT, Yi-Fan Tsai <duke at openjdk.org> wrote:

>> Increase WARMUP_ITERATIONS to get MD5 hash from the intrinsic.
>> 
>> Both TestMD5Intrinsics and TestMD5MultiBlockIntrinsics are run with options "-XX:CompileThreshold=500 -XX:Tier4InvocationThreshold=500", so the current value is too low for the intrinsic to be executed.
>
> Yi-Fan Tsai has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Set WARMUP_ITERATIONS based on Tier4InvocationThreshold

test/hotspot/jtreg/compiler/intrinsics/sha/sanity/DigestSanityTestBase.java line 57:

> 55:     private static final int OFFSET = 0;
> 56:     private static final int ITERATIONS = 10000;
> 57:     private static final int WARMUP_ITERATIONS = WHITE_BOX.getIntxVMFlag("Tier4InvocationThreshold").intValue() + 50;

If the flag `Tier4InvocationThreshold` is not set, what will happen?

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

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


More information about the hotspot-compiler-dev mailing list