Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8240975

Extend NativeLibraries to support explicit unloading

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 15
    • Component/s: core-libs
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mchung Mandy Chung
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: