RFR: 8327793: Deprecate jstatd for removal
Alan Bateman
alanb at openjdk.org
Tue Jun 11 13:38:12 UTC 2024
On Tue, 11 Jun 2024 13:09:06 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
> jstatd is an RMI server application which monitors HotSpot VMs, and provides an interface to the monitoring tool jstat, for use across a remote RMI connection.
>
> RMI is not how modern applications communicate. It is an old transport with long term security concerns, and configuration difficulties with firewalls.
>
> The jstatd tool should be removed. Deprecating and removing jstatd will not affect usage of jstat for monitoring local VMs using the Attach API.
The sun.jvmstat.monitor.remote package is not exported so I don't think adding `@Deprecated` makes sense.
Look at JDK-8245068 when rmid was deprecated and see the warning that it printed. I think it's the warning piece that you'll need here.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19658#issuecomment-2160786798
More information about the core-libs-dev
mailing list