JDK-6331662 : jhat: reduce memory by preferring iterator/enumeration instead of arrays
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2005-10-03
  • Updated: 2010-08-24
  • Resolved: 2005-10-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
There are few methods of HAT model classes that create and use arrays. HAT is a memory intensive application and so it would be better to reduce memory requirement by replacing array results by Enumerations -- in place iteration of elements would remove array creation. 6326374 (jhat should read primitive array content lazily) addressed part of this by reading primitive array content lazily. Removing array creation while executing various queries would definitely help (particularly with large heap dumps)