RFR: 8263636: Add --disableregistry option to jhsdb debugd

Yasumasa Suenaga ysuenaga at openjdk.java.net
Mon Mar 29 01:20:48 UTC 2021


`jhsdb debugd` will start RMI registry by default, but we want to prevent it due to port confliction in some cases. We can control it with `sun.jvm.hotspot.rmi.startRegistry` system property. However we have no way to set it excepting system property. jhsdb should provide the way to set it as a command line option.

This PR introduces `--disableregistry` to `jhsdb debugd`. Please review [CSR](https://bugs.openjdk.java.net/browse/JDK-8264021) too.

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

Commit messages:
 - 8263636: Add --disableregistry option to jhsdb debugd

Changes: https://git.openjdk.java.net/jdk/pull/3233/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3233&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8263636
  Stats: 162 lines in 4 files changed: 151 ins; 0 del; 11 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3233.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3233/head:pull/3233

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


More information about the serviceability-dev mailing list