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

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

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: