RFR: 8339927: Man page update for deprecating jhsdb debugd for removal
Kevin Walls
kevinw at openjdk.org
Thu Sep 12 20:41:12 UTC 2024
On Thu, 12 Sep 2024 00:37:02 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:
> Why is `debugd` deprecated?
Hi,
Thanks, good to hear from you.
While it's good you found it useful, the recent change to deprecate jhsdb debugd was https://bugs.openjdk.org/browse/JDK-8338894
The motivation is accurate: it is not widely used or well documented. RMI is not a modern secure transport, and dependencies on it should be reduced or removed where possible.
While RMI itself is not deprecated, some components/features of it have been deprecated over the years and the transport itself is not considered desirable.
The alternative to jhsdb debugd is usually ssh in to a machine and run the tools you need. People do not generally want and we can't really recommend running an insecure RMI connection instead of ssh.
Remote usage of HSDB (GUI) is an interesting case. If that is the missing piece, we can think separately about what should be provided. Would be happy to hear more about what you or others miss without debugd. Ideas may contribute to other command-line tools e.g, jcmd, or in the SA tools or other e.g. JDI debugging tools.
Thanks 8-)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20946#issuecomment-2347197266
More information about the serviceability-dev
mailing list