hg: jdk/hs: 8191360: Lookup of critical JNI method causes duplicate library loading with leaking handler

tobias.hartmann at oracle.com tobias.hartmann at oracle.com
Tue Dec 5 07:32:03 UTC 2017


Changeset: 50181ff45d46
Author:    thartmann
Date:      2017-12-05 08:27 +0100
URL:       http://hg.openjdk.java.net/jdk/hs/rev/50181ff45d46

8191360: Lookup of critical JNI method causes duplicate library loading with leaking handler
Summary: Unload shared library after lookup to avoid keeping it live.
Reviewed-by: vlivanov, dholmes

! src/hotspot/share/prims/nativeLookup.cpp
! test/jdk/java/lang/ClassLoader/nativeLibrary/NativeLibraryTest.java



More information about the jdk-hs-changes mailing list