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

pack200 impl does not allow releasing its data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6u2
    • deploy
    • None

      We use packer to pack more jars in cycle. Heap size grows and data are never released by gc. I checked heap dump and found out that pack uses static hash maps to store its internal data (ConstantPool). Such behavior is not good as it does not allow releasing data when pack is not already used. Perhaps it does not matter for usage in command line tool when only one jar is processed at given time but it is not good when API is used in any more complex application.

            ksrini Kumar Srinivasan
            mslamasunw Marek Slama (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: