Permission evaluation

Under the category of permission evaluation, three optimizations were made:

  • The identifyPolicyEntries list previously had policy provider code for synchronization. This code has been removed in JDK 9.
  • PermissionCollection entries are now stored in a ConcurrentHashMap. They were previously stored as a HashMap in a Permission class.
  • Permissions are now stored in concurrent collections in subclasses of PermissionCollection.

Get Java 9: Building Robust Modular Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.