Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8285398

Cache the results of constraint checks

XMLWordPrintable

        Profiling the TLS handshakes using SSLHandshake benchmark shows that a large portion of time is spent in HandshakeContext initialization, specifically in DisabledAlgorithmConstraints class.

        There are only a few instances of that class, and they are immutable. Caching the results should be a low-risk operation.

              djelinski Daniel Jelinski
              djelinski Daniel Jelinski
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: