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

Load libzip.so only if necessary

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 15
    • hotspot
    • b22

      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

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

              Created:
              Updated:
              Resolved: