JDK-8229848 : [Graal] missing Graal intrinsics for Electronic Code Book (ECB) encryption
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 14
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • CPU: x86_64
  • Submitted: 2019-08-17
  • Updated: 2021-01-04
  • Resolved: 2019-08-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 14
11.0.9-oracleFixed 14 b12Fixed
Related Reports
Relates :  
Description
Since the push of the ECB support in JDK-8225625 the Graal intrinsic test is failing

There was 1 failure:
1) test(org.graalvm.compiler.hotspot.test.CheckGraalIntrinsics)
java.lang.AssertionError: missing Graal intrinsics for:
    com/sun/crypto/provider/ElectronicCodeBook.implECBDecrypt([BII[BI)I
    com/sun/crypto/provider/ElectronicCodeBook.implECBEncrypt([BII[BI)I


Comments
[11u notice] I assume it needs adaption to work properly. Testbug only, so defer.
02-06-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/d41c18a68257 User: kvn Date: 2019-08-22 01:00:40 +0000
22-08-2019

https://cr.openjdk.java.net/~kvn/8229848/webrev.00/
21-08-2019

To run graal unit test you need to do: cd $myjdk make images make build-test-hotspot-jtreg-graal make test-image-hotspot-jtreg-graal jtreg -testjdk:$myjdk/build/linux-x86_64-server-release/images/jdk -va -javaoptions:'-ea -esa -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:-UseJVMCICompiler -Dgraalunit.libs=$myjdk/build/linux-x86_64-server-release/images/test/hotspot/jtreg/graal/' compiler/graalunit/HotspotTest.java
21-08-2019

[~srukmannagar] You need to add new intrinsics to Graal test CheckGraalIntrinsics.java similar to next: http://hg.openjdk.java.net/jdk/jdk/rev/3791fee4df3b
21-08-2019

The failing test is: compiler/graalunit/HotspotTest.java
21-08-2019

Could you please point me to the steps to reproduce this issue.
20-08-2019

ILW = Test fails due to missing Graal intrinsic (test bug), single Graal unit test, no workaround = MMH = P3
19-08-2019