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

Use ConcurrentHashMap to map ProtectionDomain to PermissionCollection

XMLWordPrintable

        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.

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

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

                Created:
                Updated:
                Resolved: