Dead lock happens if ClientVector.run is calling cache.removeVector
while the other thread is calling v.put in KeepA;iveCache.put.
KeepAliveCache.put which synchronized itself is trying to lock
ClentVector by calling put(ClientVector.put is synchronized method)
while ClientVector is locked by itself in run method and trying to
lock KeepAliveCache by calling removeVector in it.
while the other thread is calling v.put in KeepA;iveCache.put.
KeepAliveCache.put which synchronized itself is trying to lock
ClentVector by calling put(ClientVector.put is synchronized method)
while ClientVector is locked by itself in run method and trying to
lock KeepAliveCache by calling removeVector in it.
- relates to
-
JDK-8296438 Objects locks held during SSL Socket close and waits for server close notify only with TLSv1.3
- Closed