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

jcmd VM.cds should print directory of the output files

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 18
    • 17
    • hotspot
    • b04

    Description

      If there's a RuntimeException resulting from the "jcmd VM.cds" command, currently, it only prints the filenames of stdout and stderr as follows:

      Static dump:java.lang.RuntimeException: Archive file test.jsa.temp is not created, please check stdout file java_pid45800_stdout or stderr file java_pid45800_stderr for more detail

      While the output files are located where the target java process was started, it would be hard to find if the java process was started by another process. Adding directory info allows the user to locate the output files easily.

      Attachments

        Issue Links

          Activity

            People

              minqi Yumin Qi
              ccheung Calvin Cheung
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: