RFR: 8262520: Add CLHSDB command to connect to debug server

Chris Plummer cjplummer at openjdk.java.net
Mon Mar 1 21:09:42 UTC 2021


On Mon, 1 Mar 2021 07:31:04 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

> `attach` command on CLHSDB supports to attach live process (PID) and coredump, but it cannot connect to debug server. CLHSDB does not have a command to connect to debug server.
> 
> Other jhsdb commands (jstack, jmap, etc...) can connect debug server via `--connect` option, so CLHSDB should connect to it.
> 
> After this change, you can connect to debug server with 'connect <hostname>'.

You'll need a CSR for this.

Will `jhsdb clhsdb --connect debugserver` work? If not, it should to be consistent with the other commands.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2773


More information about the serviceability-dev mailing list