JDK-8028801 : Serious thread deadlock on sun.security.ssl.SSLSocketImpl
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 7u45
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86
  • Submitted: 2013-11-21
  • Updated: 2013-11-23
  • Resolved: 2013-11-23
Related Reports
Duplicate :  
Description
A serious deadlock with 7u45, it is all a timing thing between different threads.  It seems there is some lock contention in the sun.security.ssl.SSLSocketImpl. Because it is a threading problem, it does not occur very predictably and have not been able to reproduce it yet on the test computer.

However, attached thread dump got from the VM after the deadlock shows the locks that each thread has and where the deadlock occurred.  These are generally caused by different execution paths obtaining the same locks in different orders.   Since the two execution paths are represented in the attachment, this will be sufficient to analyze the situation. 
 

 
Comments
The issue was addressed in JDK 7u60 with JDK-8013809.
23-11-2013

Xue-Lei, can you triage this?
21-11-2013