RFR JDK-7092821 "java.security.Provider.getService() is synchronized and became scalability bottleneck"
Valerie Peng
valerie.peng at oracle.com
Wed Nov 21 18:05:53 UTC 2018
Hi,
Can someone help reviewing this fix?
Besides changing the Provider class to use ConcurrentHashMap in order to
reduce the lock contention on Provider.getService() calls, I also
changed the security providers in java.base module to register through
putService(...) calls. Performance is manually verified and mach5 run is
clean.
Bug: https://bugs.openjdk.java.net/browse/JDK-7092821
Webrev: http://cr.openjdk.java.net/~valeriep/7092821/webrev.00/
Thanks,
Valerie
More information about the security-dev
mailing list