JDK-8263636 : Add --disable-registry option to jhsdb debugd
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: svc-agent
  • Affected Version: 17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-03-16
  • Updated: 2021-04-29
  • Resolved: 2021-04-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17 b20Fixed
Related Reports
CSR :  
Relates :  
Description
`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.
Comments
Changeset: 159f5e1e Author: Yasumasa Suenaga <ysuenaga@openjdk.org> Date: 2021-04-22 15:01:33 +0000 URL: https://git.openjdk.java.net/jdk/commit/159f5e1e
22-04-2021