RFR: 8263635: Add --prefix option to jhsdb debugd

Yasumasa Suenaga ysuenaga at openjdk.java.net
Tue May 11 00:15:22 UTC 2021


On Wed, 5 May 2021 08:41:48 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> `jhsdb debugd` supports server name prefix with `sun.jvm.hotspot.rmi.serverNamePrefix` system property. It will be used as remote name for SA remote 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. And also we should add the way to specify the prefix when we connect to debug server. I will add it like `--connect id at server:1234/prefix`.
>> 
>> I've also filed [CSR for this PR](https://bugs.openjdk.java.net/browse/JDK-8265897). Please review it.
>> This PR modifies DisableRegistryTest.java, but it has been addressed in ProblemList-zgc.txt now. So this PR does not affect ZGC.
>
> I've looked at the CSR and added a comment with a question.

@sspitsyn Thanks for your comment!
I updated the CSR, and pushed new commits to follow it. Could you review again?

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

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


More information about the serviceability-dev mailing list