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

java.util.zip stream classes do not close default {De,In}flaters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 1.3.1_16
    • 1.3.1
    • core-libs
    • None
    • b01
    • generic
    • generic

    Description

      The fix for 4499542 was backported from 1.4 to 1.3.1_04, but the backport was
      incomplete. The usesDefaultDeflater field is never set, so the close() method
      never invokes the underlying deflater's end() method. This causes native
      memory to be retained until the deflater is finalized. Since finalization is
      never guaranteed, native OutOfMemoryErrors can occur under heavy load.

      This bug only exists in 1.3.1.

      ###@###.### 2005-1-28 20:22:26 GMT

      Attachments

        Issue Links

          Activity

            People

              hgodugusunw Harsha Godugu (Inactive)
              mr Mark Reinhold
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: