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

ZIP entry inflation for JVM never frees buffers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0
    • core-libs
    • beta
    • sparc
    • solaris_8
    • Verified


      The ZIP_ReadEntry function in libzip.so used by the JVM to extract classes
      from the system jar files allocates memory which is never freed. This
      memory is allocated in 32KB blocks to hold the raw data to be inflated.

      This only affects classes loaded from compressed entries in jar files in
      the system classpath. Since rt.jar entries are not compressed, it is not
      affected. However, i18n.jar is compressed and 32KB of malloc heap space is
      leaked per class loaded.

            mmcclosksunw Michael Mccloskey (Inactive)
            foliversunw Fred Oliver (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: