JDK-8240975 : Extend NativeLibraries to support explicit unloading
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang:class_loading
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-03-12
  • Updated: 2020-04-07
  • Resolved: 2020-03-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15 b16Fixed
Related Reports
Relates :  
Description
NativeLibraries currently supports auto unloading of the native library when a class loader is reclaimed.

For NativeLibraries instance of no relationship with class loaders, it should provide the ability to unload a native library on request such that Panama for example can maintain its own reference count and unload a native library when no one references it.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/ec23fc249e34 User: mchung Date: 2020-03-23 16:06:05 +0000
23-03-2020