hg: jdk/jdk: 7092821: java.security.Provider.getService() is synchronized and became scalability bottleneck

valerie.peng at oracle.com valerie.peng at oracle.com
Thu Dec 13 02:01:29 UTC 2018


Changeset: 9af672cab7cb
Author:    valeriep
Date:      2018-12-13 01:15 +0000
URL:       http://hg.openjdk.java.net/jdk/jdk/rev/9af672cab7cb

7092821: java.security.Provider.getService() is synchronized and became scalability bottleneck
Summary: Changed Provider class to use ConcurrentHashMap and default providers to use putService()
Reviewed-by: weijun, mullan

! src/java.base/share/classes/com/sun/crypto/provider/SunJCE.java
! src/java.base/share/classes/java/security/Provider.java
! src/java.base/share/classes/sun/security/provider/Sun.java
! src/java.base/share/classes/sun/security/provider/SunEntries.java
! src/java.base/share/classes/sun/security/provider/VerificationProvider.java
! src/java.base/share/classes/sun/security/rsa/SunRsaSign.java
! src/java.base/share/classes/sun/security/rsa/SunRsaSignEntries.java
! src/java.base/share/classes/sun/security/ssl/SunJSSE.java



More information about the jdk-all-changes mailing list