Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8237401

[Graal] 50% regression to C2 on crypto.small.CipherBench.GCM.decrypt

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 13
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      This is similar to JDK-8213396, the main difference seems to be the non optimized clearing of the buffer in doFinal, see here:

      http://hg.openjdk.java.net/jdk/jdk14/file/cf3ce4ee50bf/src/java.base/share/classes/com/sun/crypto/provider/CipherCore.java

      at line 959.

      All the crypto intrinsics look good otherwise -

       19.11% runtime stub StubRoutines::counterMode_AESCrypt (1102 bytes)
        8.68% runtime stub StubRoutines::ghash_processBlocks (774 bytes)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ecaspole Eric Caspole
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: