RFR: 8276660: Scalability bottleneck in java.security.Provider.getService() [v2]

Valerie Peng valeriep at openjdk.java.net
Tue Nov 30 02:51:10 UTC 2021


On Mon, 29 Nov 2021 23:10:03 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Updated to use pattern matching with instanceof operator.
>
> src/java.base/share/classes/java/security/Provider.java line 979:
> 
>> 977:                 parseLegacy(sk, sv, OPType.REPLACE);
>> 978:             }
>> 979:         }
> 
> If you are going through all the entries, should we also clean up the legacy sets and restart?

Do you mean simply wipe out the legacyMap and just do ADD instead of REPLACE?

-------------

PR: https://git.openjdk.java.net/jdk/pull/6513



More information about the security-dev mailing list