JDK-8345954 : Revisit Class Initializers and Locking in X509TrustManagerImpl
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2024-12-10
  • Updated: 2025-06-05
Related Reports
Relates :  
Description
Per Alan's 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."

See also, [this comment](https://bugs.openjdk.org/browse/JDK-8344924?focusedId=14729295&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14729295).