JDK-8065233 : Remove Policy provider code that synchronizes on identityPolicyEntries List
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: java.security
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-11-18
  • Updated: 2015-06-04
  • Resolved: 2015-05-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b67Fixed
Related Reports
Relates :  
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
Comments
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
22-05-2015