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

Load libzip.so only if necessary

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 15
    • 15
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: