JDK-2219760 : rcache deadlock
  • Type: Backport
  • Backport of: JDK-7118809
  • Component: security-libs
  • Sub-Component: org.ietf.jgss:krb5
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2012-01-16
  • Updated: 2012-04-13
  • Resolved: 2012-04-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u4 b10Fixed 8Fixed
Comments
EVALUATION http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/6e94688e622d
16-01-2012

EVALUATION The fix in 7u4 is almost identical to that of 8, except that CacheTable is not changed. There is these suspicious lines // re-insert the entry, since rc.put could have removed the entry super.put(principal, rc); I cannot find a reason why the entry should be re-inserted, but since this is an update release, they are kept untouched for safety. BTW, the fix in JDK 8 looks like http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e8e08d46cc37
16-01-2012