JDK-8186628 : SSL session cache can cause a scalability bottleneck
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 7u111
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2017-08-22
  • Updated: 2018-05-29
  • Resolved: 2018-05-29
Related Reports
Relates :  
Description
The class sun.security.ssl.SSLSessionContextImpl maintains caches for the sessions reuse.
Access to the cache from threads is serialized.
It was reported that under heavy load the time of waiting for the turn to access the synchronized methods overweights the time of creating a new session.

Currently there's no way to avoid using the cache.
A new flag should be introduced that would allow to avoid using the cache and thus avoid the bottleneck.
Comments
Closing the issue as "Won't fix" as the request for the fix was withdrawn by the submitter.
29-05-2018