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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 7
    • Component/s: 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.

              Assignee:
              Valerie Peng
              Reporter:
              Sergey Kuksenko
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: