8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call

Reviewed-by: mchung
This commit is contained in:
Anton Kozlov 2019-10-11 14:49:05 -07:00
parent 725da985e1
commit 4b7bbaf5b0
6 changed files with 243 additions and 9 deletions

View file

@ -2045,6 +2045,8 @@ public final class System {
// register shared secrets
setJavaLangAccess();
ClassLoader.initLibraryPaths();
// Subsystems that are invoked during initialization can invoke
// VM.isBooted() in order to avoid doing things that should
// wait until the VM is fully initialized. The initialization level