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

jhat: reduce memory by preferring iterator/enumeration instead of arrays

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b61
    • CPU:
      generic
    • OS:
      generic

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sundar Sundararajan Athijegannathan
                Reporter:
                sundar Sundararajan Athijegannathan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: