[jdk11u-dev] RFR: 8273026: Slow LoginContext.login() on multi threading application [v3]

Christoph Langer clanger at openjdk.java.net
Wed Nov 17 13:32:35 UTC 2021


On Wed, 10 Nov 2021 13:17:16 GMT, Larry-N <duke at openjdk.java.net> wrote:

>> Backport of performance enhancement. Tested with tier-2.
>
> Larry-N has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - corrections in .gitignore
>  - Revert "Delete .gitignore"
>    
>    This reverts commit b49f2df4fcd38240842820e7a35a9041d79ae956.

I looked at this now. Except from the minor comment regarding the SuppressWarnings, it looks good to me. I'll run it through our nightlies once more.

src/java.base/share/classes/javax/security/auth/login/LoginContext.java line 701:

> 699:                                 debug.println("Build ServiceProviders cache for ClassLoader: " + contextClassLoader.getName());
> 700:                             }
> 701:                             @SuppressWarnings("removal")

I guess in 11 you don't need this @SuppressWarnings("removal") directive since the deprecation for Security Manager was done later.

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/572


More information about the jdk-updates-dev mailing list