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

jhsdb should show help message in SALauncher.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • svc
    • b115

      jhsdb shows error message in each tool implemantation as below:
      --------------
      $ jhsdb jstack -aaa
      Usage: jstack [option] <pid>
                      (to connect to a live java process)
         or jstack [option] <executable> <core>
                      (to connect to a core file)
         or jstack [option] [server_id@]<remote server IP or hostname>
                      (to connect to a remote debug server)

      where option must be one of:
          -l to print java.util.concurrent locks
          -m to print both java and native frames (mixed mode)
          -h | -help to print this help message
      --------------

      If we run SA tool via jhsdb, we should get help message of SALauncher as below:
      --------------
      $ jhsdb jstack -aaa
          --locks to print java.util.concurrent locks
          --mixed to print both java and native frames (mixed mode)
          --exe executable image name
          --core path to coredump
          --pid pid of process to attach
      --------------

            ysuenaga Yasumasa Suenaga
            ysuenaga Yasumasa Suenaga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: