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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: tbd
    • Fix Version/s: 17
    • Component/s: hotspot
    • Subcomponent:
      svc
    • Resolved In Build:
      b08
    • CPU:
      generic
    • OS:
      generic

      Description

      JDK-8243244 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

              Assignee:
              rschmelter Ralf Schmelter
              Reporter:
              rschmelter Ralf Schmelter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: