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

Remove GzipRandomAccess in heap dump test

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 18
    • core-svc
    • b19

    Description

      The class GzipRandomAccess is used to parse heap dump file generated from jcmd/jmap tools when testing.
      It has the limitation that only gzip file which has "blocksize" header field could be sucessfully parsed.
      We think this class can be removed for 2 reasons:

      The gzip heap dump file generated by jhsdb command does not contain the "blocksize" header field, so the GzipRandomAccess can not parse the generated file successfully.
      The GzipInputStream could be used instead and then gziped heap dump file generated from both jcmd/jmap and jhsdb jmap could be parsed using same logic.
      Options

      Attachments

        Issue Links

          Activity

            People

              lzang Lin Zang
              lzang Lin Zang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: