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

Implement BigInteger.montgomeryMultiply intrinsic

    Details

    • Subcomponent:
    • Resolved In Build:
      b74
    • CPU:
      x86

      Backports

        Description

        This is a considerable speedup in RSA and Diffie-Hellman key exchange.

          Issue Links

            Activity

            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/9fcbb6768a78
            User: aph
            Date: 2015-07-02 10:37:14 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/9fcbb6768a78 User: aph Date: 2015-07-02 10:37:14 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/hs-comp/jdk/rev/6fe1776c4d17
            User: aph
            Date: 2015-07-02 10:38:21 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/hs-comp/jdk/rev/6fe1776c4d17 User: aph Date: 2015-07-02 10:38:21 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/9fcbb6768a78
            User: lana
            Date: 2015-07-22 21:33:30 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/9fcbb6768a78 User: lana Date: 2015-07-22 21:33:30 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/6fe1776c4d17
            User: lana
            Date: 2015-07-22 21:33:50 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/6fe1776c4d17 User: lana Date: 2015-07-22 21:33:50 +0000
            Hide
            coffeys Sean Coffey added a comment -
            example of stacktrace where this enhancement will help performance and reduce time spent in BigInteger operations :

            "ExecuteThread: '3' for queue: 'weblogic.socket.Muxer'" daemon prio=10
            tid=0x0000000001a6f800 nid=0x69bd runnable [0x00007fbcaf7eb000]
              java.lang.Thread.State: RUNNABLE
                   at java.math.BigInteger.oddModPow(BigInteger.java:1850)
                   at java.math.BigInteger.modPow(BigInteger.java:1599)
                   at sun.security.rsa.RSACore.crtCrypt(RSACore.java:183)
                   at sun.security.rsa.RSACore.rsa(RSACore.java:122)
                   at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:364)
                   at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:442)
                   at javax.crypto.Cipher.unwrap(Cipher.java:2510)
                   at sun.security.ssl.RSAClientKeyExchange.<init>(RSAClientKeyExchange.java:123)
                   at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:244)
            Show
            coffeys Sean Coffey added a comment - example of stacktrace where this enhancement will help performance and reduce time spent in BigInteger operations : "ExecuteThread: '3' for queue: 'weblogic.socket.Muxer'" daemon prio=10 tid=0x0000000001a6f800 nid=0x69bd runnable [0x00007fbcaf7eb000]   java.lang.Thread.State: RUNNABLE        at java.math.BigInteger.oddModPow(BigInteger.java:1850)        at java.math.BigInteger.modPow(BigInteger.java:1599)        at sun.security.rsa.RSACore.crtCrypt(RSACore.java:183)        at sun.security.rsa.RSACore.rsa(RSACore.java:122)        at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:364)        at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:442)        at javax.crypto.Cipher.unwrap(Cipher.java:2510)        at sun.security.ssl.RSAClientKeyExchange.<init>(RSAClientKeyExchange.java:123)        at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:244)
            Hide
            mcastegr Mattis Castegren (Inactive) added a comment -
            Note, for the release note, document if any flags are needed to enable this
            Show
            mcastegr Mattis Castegren (Inactive) added a comment - Note, for the release note, document if any flags are needed to enable this

              People

              • Assignee:
                aph Andrew Haley
                Reporter:
                aph Andrew Haley
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: