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

jcmd VM.cds should print directory of the output files

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: