RFR: 8194653: Deadlock involving FileSystems.getDefault and System.loadLibrary call
Andrew Dinn
adinn at redhat.com
Wed Jun 19 10:02:49 UTC 2019
Could I please have reviews for the following patch against jdk8u-dev:
Webrev: http://cr.openjdk.java.net/~adinn/8194653/webrev.00/
JIRA: https://bugs.openjdk.java.net/browse/JDK-8194653
Background:
The email threads discussing this issue were a tad inconclusive for both
jdk8u and jdk9+.
On jdk8 a suggestion was left hanging that a fix in the jdk not jvm
might be better.
On jdk9+ upwards the deadlock does not manifest but it might do in
future so an investigation was requested by Alan Bateman which has not
been followed up.
Nevertheless, Oracle have applied a jdk8u patch in 8u212, although using
a different JIRA issue.
https://bugs.openjdk.java.net/browse/JDK-8222858
I am not sure why this has been done as a backport? Note it may be
relevant that the original JIRA (8194653) is marked as being against 8u231.
Testing:
The reproduced supplied with the original patch and included in the
above webrev fails before applying and works afterwards.
regards,
Andrew Dinn
-----------
More information about the jdk8u-dev
mailing list