[16] (S) RFR 8251260: two MD5 tests fail "RuntimeException: Unexpected count of intrinsic"
Vladimir Kozlov
vladimir.kozlov at oracle.com
Fri Aug 7 17:10:36 UTC 2020
Thank you, Vladimir
On 8/7/20 10:06 AM, Vladimir Ivanov wrote:
>
>> http://cr.openjdk.java.net/~kvn/8251260/webrev.00/
>
> Looks good.
>
> Best regards,
> Vladimir Ivanov
>
>> https://bugs.openjdk.java.net/browse/JDK-8251260
>>
>> New MD5 intrinsic tests failed when run with AOTed java.base. And old SHA tests are problem listed for AOT.
>>
>> SHA and MD5 intrinsic tests parse -XX:+LogCompilation output looking for compilation of sun/security/provider methods
>> as intrinsics. But these methods are already pre-compiled by AOT when AOTed java.base is used. As result
>> LogCompilation does not have corresponding entries.
>>
>> I think we should not run these MD5 and SHA tests with AOTed java.base module. I added corresponding @requires.
>>
>> Old SHA tests were problem listed referencing 8167430 [1] bug but I think it is incorrect. The original SHA tests
>> crash with AOT 8207358 [2] bug was closed as duplicate of 8167430 because of conflict how intirnsics flags are set by
>> default during AOT compilation. But we simply should not run these tests with AOTed java.base. So I am adding
>> @requires to them as well and removing them from AOT problem list.
>>
>> Tested hs-tier1, hs-tier2 (runs sha,md5 tests), hs-tier6 (now skips sha,md5 tests when AOTed java.base is used).
>>
>> Thanks,
>> Vladimir
>>
>> [1] https://bugs.openjdk.java.net/browse/JDK-8167430
>> [2] https://bugs.openjdk.java.net/browse/JDK-8207358
More information about the hotspot-compiler-dev
mailing list