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

Add option to compress heap dumps created by -XX:+HeapDumpOnOutOfMemoryError

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • tbd
    • 17
    • hotspot
    • svc
    • b08
    • generic
    • generic

    Description

      JDK-8237354 added the option to the GC.HeapDump jcmd, to create gzipped heap dumps. JDK-8256450 added the feature to heap dumps via jmap. But the heap dumps created via -XX:+HeapDumpOnOutOfMemoryError are currently always uncompressed.

      This should be changed by adding a command line flag which lets the user specify the compression level of the created heap dump. The default would be to not compress the dump (as it is today).

      Attachments

        Issue Links

          Activity

            People

              rschmelter Ralf Schmelter
              rschmelter Ralf Schmelter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: