RFR: 8327246: Add a jcmd diagnostic command to list the jar files loaded by a process
Alan Bateman
alanb at openjdk.org
Tue Jan 6 07:54:40 UTC 2026
On Tue, 6 Jan 2026 00:49:14 GMT, David Holmes <dholmes at openjdk.org> wrote:
> 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.
In time then one could imagine options to these comments to produce structured text (probably JSON) that is intended to be parsed. We have this with Thread.dump_to_file where the output can be plain text or a JSON object.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29048#issuecomment-3713559830
More information about the hotspot-dev
mailing list