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

ZipFile doesnt deallocate memory even when an exception has occured.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.4.0_02
    • 1.4.0_01
    • core-libs
    • 02
    • sparc
    • solaris_8

      ZipFile doesnt deallocate memory even when an exception has occured.A simple Testcase is attached . This problem is not seen with jdk1.4.1 beta.
      Run as java TestJdk
      use pmap to see the memory allocated for the class file(fortuneServlet.class) .
      Description:

      iMM application which is running on sunone appserver 7.0 uses getcipher() api for data encryption/decryption .This api internally passes a class file to ZipFile api(The class file passed is the one which is using getCipher api. ) , ZipFile throws an exception but does not deallocate memory allocated to the class file .

      Contact me(###@###.###) if more info is needed .



      Wed Jun 26 03:55:48 MDT 2002 vk112360

            minqi Yumin Qi
            vkorcl Venugopal K (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: