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

Load libzip.so only if necessary

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b22

      Description

      HotSpot current loads libzip.so unconditionally.

      http://hg.openjdk.java.net/jdk/jdk/file/6411242023f9/src/hotspot/share/classfile/classLoader.cpp#l1521

      However, we need it only when:

      -Xbootclasspath is specified (potentially with a zip file in there)
      VerifySharedSpaces is enabled
      CDS archive has classes for custom class loaders
      AOT is enabled

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              minqi Yumin Qi
              Reporter:
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: