Relates :
|
java.security.SecureClassLoader uses a HashMap to maintain an internal collection of CodeSource to ProtectionDomain. Synchronization is needed when accessing the map. We can investigate if a ConcurrentHashMap can improve performance.