Review Request JDK-8240975: Extend NativeLibraries to support explicit unloading

Mandy Chung mandy.chung at
Fri Mar 13 18:16:51 UTC 2020


This is a follow-up task for Panama to allow explicit unloading of 
native library after JDK-8228336.  `NativeLibraries` associated with a 
class loader has the capability to auto unload native libraries when the 
class loader is reclaimed.  This adds a new `NativeLibraries::unload` 
method that provides the ability to unload a native library on request.  
This only allows  `NativeLibraries` of no relationship with a class 
loader where auto unloading is disabled.


More information about the core-libs-dev mailing list