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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • core-svc
    • b61
    • generic
    • generic

      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)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: