JDK-8253116 : Performance regression observed post upgrade to 8u261
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 8u261,openjdk8u222
  • Priority: P3
  • Status: Resolved
  • Resolution: Not an Issue
  • Submitted: 2020-09-14
  • Updated: 2021-05-19
  • Resolved: 2021-05-19
Related Reports
Relates :  
Relates :  
Relates :  
Description
Upon upgrading to 8u261 from 8u251, experienced higher cpu and increased GCs when running the same load test. Increasing heap reduced their GCs, but CPU utilization was still higher and slower response times were observed.
Comments
JDK-8213577 was downported to OpenJDK 8u222 (by JDK-8224769) and to Oracle JDK 8u261 (by JDK-8239073). So this is a regression from 8u251 to 8u261 for Oracle JDK and from 8u212 to 8u222 for OpenJDK.
29-10-2020

From 8u261 JFRs, we observed thousands of HashMap$Node[] java.util.HashMap.resize() operations. Looks like JDK-8213577 (Update the default SSL session cache size to 20480) is effecting. Suggested to use "-Djavax.net.ssl.sessionCacheSize=0" property to get 8u251 behavior.
21-09-2020