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

SA: debugd options should follow jhsdb style

    Details

    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b22

      Backports

        Description

        Proposed by Osamu Sakamoto <sakamoto.osamu@nttcom.co.jp>
        http://mail.openjdk.java.net/pipermail/serviceability-dev/2019-May/027975.html

        I want to use `jhsdb debugd` on my laptop.
        However debugd mode has different options from other modes.
        I think debugd should have same options like other modes.

        For example, `jhsdb debugd <pid>` should be `jhsdb debugd --pid <pid>`.
        Also I added `--serverid` option for serverid.

        I attached a patch for this enhancement.
        This patch passes serviceability/sa jtreg tests.

        Testcase for debugd is available as serviceability/sa/sadebugd/SADebugDTest.java .
        However it has been disabled by JDK-8163805.
        It will be fixed by Yasumasa Suenaga (ysuenaga) after my proposal has been merged.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ysuenaga Yasumasa Suenaga
                  Reporter:
                  ysuenaga Yasumasa Suenaga
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: