RFR: 8327246: Add a jcmd diagnostic command to list the jar files loaded by a process [v7]

Alan Bateman alanb at openjdk.org
Fri Jan 16 12:12:52 UTC 2026


On Fri, 16 Jan 2026 11:45:25 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Alan - jcmds are considered diagnostics and don't require CSR requests. But yes this needs documenting.

They are diagnostic commands but we have been using CSRs to track additions as they are a documented interface, e.g. [JDK-8370204](https://bugs.openjdk.org/browse/JDK-8370204) and [JDK-833942](https://bugs.openjdk.org/browse/JDK-8339420). I may have it wrong  as I thought we wanted a CSR for additions/changes to the CLI.

(The output of a command is a different topic of course. Most commands yield unstructured/plain text that is not intended to be parsed, no CSR if the output changes. However there are a few commands that produce binary files or structured output that are intended to be parsed, and so are a supported interface for the CSR to track.)

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

PR Comment: https://git.openjdk.org/jdk/pull/29048#issuecomment-3759757569


More information about the hotspot-dev mailing list