JDK-6545954 : pack200 impl does not allow releasing its data
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_2.6
  • CPU: x86
  • Submitted: 2007-04-13
  • Updated: 2011-01-27
  • Resolved: 2010-07-14
Related Reports
Duplicate :  
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.