RFR: 8345954: Revisit Class Initializers and Locking in X509TrustManagerImpl [v2]
Koushik Muthukrishnan Thirupattur
duke at openjdk.org
Thu Jan 22 23:51:42 UTC 2026
> Refactor sun.security.provider.X509Factory cache access to avoid coarse-grained locking and reduce contention during certificate/CRL interning and parsing.
>
> As per request in [the PR](https://github.com/openjdk/jdk/pull/22616#issuecomment-2524971845), re-visit "the initialisation and locking in this area, e.g. addToCache is a static synchronized method so very coarse locking."
Koushik Muthukrishnan Thirupattur has updated the pull request incrementally with one additional commit since the last revision:
8345954: Addressing review comments
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29181/files
- new: https://git.openjdk.org/jdk/pull/29181/files/ef780e2c..bf2ccdab
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29181&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29181&range=00-01
Stats: 30 lines in 1 file changed: 14 ins; 5 del; 11 mod
Patch: https://git.openjdk.org/jdk/pull/29181.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29181/head:pull/29181
PR: https://git.openjdk.org/jdk/pull/29181
More information about the security-dev
mailing list