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

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

    Details

    • Subcomponent:
    • Resolved In Build:
      b24
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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).

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: