RFR: 8263636: Add --disableregistry option to jhsdb debugd [v4]

Yasumasa Suenaga ysuenaga at openjdk.java.net
Tue Apr 6 07:30:59 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.

Yasumasa Suenaga has updated the pull request incrementally with one additional commit since the last revision:

  Update testcase

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3233/files
  - new: https://git.openjdk.java.net/jdk/pull/3233/files/93c6f13e..adadf240

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3233&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3233&range=02-03

  Stats: 237 lines in 3 files changed: 123 ins; 114 del; 0 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