[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: RFR: 8263635: Add --prefix option to jhsdb debugd
From: Yasumasa Suenaga <ysuenaga () openjdk ! java ! net>
Date: 2021-04-25 7:35:10
Message-ID: r0KX5ZoIRTrbxZ5YuKxlVisQcAd2hlxZ9h6DMOZSSTM=.135cb9fe-adf9-4a8b-801b-e154e031aeca () github ! com
[Download RAW message or body]
`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@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.
-------------
Commit messages:
- 8263635: Add --prefix option to jhsdb debugd
Changes: https://git.openjdk.java.net/jdk/pull/3669/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3669&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8263635
Stats: 59 lines in 5 files changed: 27 ins; 14 del; 18 mod
Patch: https://git.openjdk.java.net/jdk/pull/3669.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3669/head:pull/3669
PR: https://git.openjdk.java.net/jdk/pull/3669
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic