> This fix adds a cache of service provider classes to LoginContext (in > particular, it's a cache of LoginModules classes). The approach helps to > increase the performance of the LoginContext.login() method significantly, > especially in a multi-threading environment. Service Loader is used for > polling on Service Provider classes, without instantiating LoginModules > object if Service Provider name doesn't match record in .config file. The set > of service providers is cached for each Context Loader separately. > This code passed successfully tier1 and tier2 tests on mac os.
Larry-N has updated the pull request incrementally with one additional commit since the last revision: 1. Address JCK failure 2.Address review notes ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/5748/files - new: https://git.openjdk.java.net/jdk/pull/5748/files/026a41c4..0b181a3b Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5748&range=01 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5748&range=00-01 Stats: 47 lines in 3 files changed: 21 ins; 17 del; 9 mod Patch: https://git.openjdk.java.net/jdk/pull/5748.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/5748/head:pull/5748 PR: https://git.openjdk.java.net/jdk/pull/5748