JDK-8193488 : Newer fix for memory leak in ProtectionDomain cache
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 7u161,8u172,9,10
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2017-12-14
  • Updated: 2024-07-24
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Need to create a more robust fix for the memory leak.

Previous attempts:
JDK-8058547 (Memory leak in ProtectionDomain cache) 
JDK-8085903 (New fix for memory leak in ProtectionDomain cache) 

Regression caused by the last attempt:
JDK-8191649 (StackOverFlow caused with custom security manager)

Related enhancement that was backed out:
JDK-8055753 (Use ConcurrentHashMap to map ProtectionDomain to PermissionCollection)