RFR: 8318026: jcmd should provide access to detailed JVM object information [v15]

David Holmes dholmes at openjdk.org
Tue Apr 9 06:03:11 UTC 2024


On Mon, 8 Apr 2024 15:54:30 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

>> Introduce the jcmd "VM.inspect" to implement access to detailed JVM object information.
>> 
>> Not recommended for live production use.  Requires UnlockDiagnosticVMOptions and not included in jcmd help output, to remind us this is not a general-purpose customer-facing tool.
>
> Kevin Walls has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Update decode_raw usage to decode_without_asserts, after 8328698
>  - nits

The new flag needs to be covered by the CSR request.

I'm not too sure about it as it sounds far too general. I would have expected something that was obviously connected to jcmd and/or the specific jcmd under discussion. I can't really imagine that we would have a number of such features that we would want to turn on or off together.

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

PR Comment: https://git.openjdk.org/jdk/pull/17655#issuecomment-2044205481


More information about the serviceability-dev mailing list