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

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: