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

Use ConcurrentHashMap to map ProtectionDomain to PermissionCollection

    XMLWordPrintable

    Details

      Backports

        Description

        The current implementation uses a Collections.synchronizedMap. Replacing that with a ConcurrentHashMap (with additional code to remove weak keys) increases the throughput of the Policy.implies method by approximately 3x.

          Attachments

          1. PerfChart.pdf
            15 kB
            Sean Mullan
          2. Policy_Implies.java
            2 kB
            Sean Mullan

            Issue Links

              Activity

                People

                Assignee:
                mullan Sean Mullan
                Reporter:
                mullan Sean Mullan
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: