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

Remove Policy provider code that synchronizes on identityPolicyEntries List

    Details

      Backports

        Description

        There is some leftover compatibility code that synchronizes on identities stored in an identity database. This should have been removed as part of JDK-6876158. Removing this code improves the throughput (approximately) of the getPermissions(CodeSource) method on a 4 CPU system:

        1 thread: 4% improvement
        8 threads: 2% improvement

          Issue Links

            Activity

            Hide
            mullan Sean Mullan added a comment -
            Attached is a chart comparing the performance of Policy.getPermissions(CodeSource) before and after the fix with various numbers of threads. The system under test was Intel® Core™ i5-2520M CPU @ 2.50GHz × 4 running Ubuntu 14.04 LTS
            Show
            mullan Sean Mullan added a comment - Attached is a chart comparing the performance of Policy.getPermissions(CodeSource) before and after the fix with various numbers of threads. The system under test was Intel® Core™ i5-2520M CPU @ 2.50GHz × 4 running Ubuntu 14.04 LTS
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/8f8d35d97f82
            User: mullan
            Date: 2015-05-24 13:18:39 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/8f8d35d97f82 User: mullan Date: 2015-05-24 13:18:39 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/8f8d35d97f82
            User: lana
            Date: 2015-06-03 20:22:43 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/8f8d35d97f82 User: lana Date: 2015-06-03 20:22:43 +0000

              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: