RFR: 8346082: Output JVMTI agent information in hserr files
Thomas Stuefe
stuefe at openjdk.org
Mon Dec 16 18:41:46 UTC 2024
On Mon, 16 Dec 2024 18:22:19 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> > jcmd to emit agent info
>
> Okay, then let's avoid adding it to jcmd; for hserr/hsinfo adding the info is more important.
>
> My idea was that currently we can do 'data dump' and 'load agents' with jcmd
>
> ```
> JVMTI.agent_load
> JVMTI.data_dump
> ```
>
> So for completeness, when you offer loading agents, it might be useful to be able to _**show**_ the current agents with the same tool jcmd. But on the other hand you are probably correct that this new option might not be used a lot so it is maybe not worth the effort.
Since we already have VM.info jcmd, which after your patch already shows jvmti info, a separate command would be redundant, no?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22706#issuecomment-2546367238
More information about the hotspot-dev
mailing list