java.security.Provider.getService() is synchronized and became scalability bottleneck

XMLWordPrintable

    • b24
    • generic
    • generic

        java.security.Provider.getService() is synchronized and became scalability bottleneck when Cipher.getInstance() is frequently called.

        The problem is important for SPECjvm2008:crypto.rsa (+27% on SPARC when fixed) and for SPECjvm2011.

        Fix is suggested (inroduce cache based on ConcurrentHashMap).

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: