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

Add --servername option to jhsdb debugd

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 17
    • hotspot
    • None
    • b25

    Description

      `jhsdb debugd` supports server name prefix with `sun.jvm.hotspot.rmi.serverNamePrefix` system property. It will be used as remote name for SA RMI object. It is "SARemoteDebugger" by default.

      As a result, remote name will be constructed as following:

      ```
      //host[:port]/<serverNamePrefix>['_'<id>]
      ```

      However we have no way to set it excepting system property. jhsdb should provide the way to set it as a command line option.

      serverNamePrefix is used for RMI object name, so "server name" is more suitable for it. Thus I will add `--servername` to `jhsdb debugd` for this purpose.
      And also we should add the way to specify it when we connect to debug server. I will add it like `--connect id@server:1234/servername`.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: