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

VM crashes if both -XX:+RecordDynamicDumpInfo and -XX:SharedArchiveFile options are specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • 17
    • hotspot
    • None
    • generic
    • generic

    Description

      JDK-8259070 adds a functionality to jcmd for dumping CDS archive on a running java process.

      To reproduce the issue:
      1. Start a java app.
      2. While the app is still running, use jcmd to create a dynamic CDS archive:
          e.g. jcmd <pid> VM.cmd dynamic_dump
      3. Run the app again with the dynamic CDS archive and the -XX:+RecordDynamicDumpInfo option:
          e.g. java -XX:+RecordDynamicDumpInfo -XX:SharedArchiveFile=java_pid<pid>_dynamic.jsa -cp myApp.jar myApp

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ccheung Calvin Cheung
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: