[8u-dev] RFR (S): JDK-8194653: Deadlock involving FileSystems.getDefault and System.loadLibrary call

Alan Bateman Alan.Bateman at oracle.com
Tue Apr 23 06:41:40 UTC 2019


On 22/04/2019 23:11, David Holmes wrote:
> Hi Ryan,
>
> On 23/04/2019 7:04 am, Sciampacone, Ryan wrote:
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8194653
>> Webrev: http://cr.openjdk.java.net/~phh/8194653/webrev.00/
>
> Why does this need to be pushed to the VM? Why not do the 
> pre-loading/initializing at the Java level?
Ryan - do you have a test case that demonstrates the issue with the main 
line (jdk/jdk)? I think we need that in order to study this issue a bit 
more closely and see what options are available. I see Paul has pasted 
in a stack trace from January and I think it would be interesting to see 
what command line options were used. I don't have a good sense yet how 
this might be fixed but it may need work in FilePermission and/or 
initializing the default file system provider at a different time during 
the startup.

-Alan


More information about the core-libs-dev mailing list