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

javax.crypto.Cipher.Transform.patternCache is synchronizedMap and became scalability bottleneck.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 8
    • 7
    • security-libs
    • b25
    • generic
    • generic
    • Not verified

    Backports

      Description

        javax.crypto.Cipher.Transform.patternCache is synchronizedMap and became scalability bottleneck when Cipher.getInstance() is frequently called.
        Should be replaced to ConcurrentHashMap as suggect in the comment to that field.
        The problem is important for SPECjvm2008:crypto.rsa and for SPECjvm2011.
        Fix is suggested.

        Attachments

          Issue Links

            Activity

              People

                valeriep Valerie Peng
                skuksenko Sergey Kuksenko
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: