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

David Holmes dholmes at openjdk.org
Tue Jan 6 00:52:44 UTC 2026


On Mon, 5 Jan 2026 23:22:01 GMT, Larry Cable <duke at openjdk.org> wrote:

> I typically avoid modifying the behavior (and hence o/p) of existing commands; in my view a particular command (and options etc) and the resulting o/p format are part of the API "contract", 

I think our position is that the output of these commands is not a contract and can be changed - it is treated as "diagnostic output" and so not subject to CSR requests. This allows the freedom to adjust/expand the output without being forced to add a new command or option to do so.

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

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


More information about the hotspot-dev mailing list