RFR: 8318026: jcmd should provide access to low-level JVM debug information [v8]

Serguei Spitsyn sspitsyn at openjdk.org
Tue Mar 26 21:12:27 UTC 2024


On Tue, 26 Mar 2024 17:01:49 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 20 additional commits since the last revision:
> 
>  - Change to jcmd VM.inspect
>  - Merge remote-tracking branch 'upstream/master' into 8318026_jcmd_VMdebug_command
>  - Test update
>  - Show description if unknown subcommand.
>  - Remove unnecessary 'events' subcommand.
>  - Usage correction
>  - Help to clarify this is VM inspection.  Comment to relate source to debug.cpp.
>  - jcheck trailing whitespace
>  - Test update omitted from previous commit.
>  - Merge remote-tracking branch 'upstream/master' into 8318026_jcmd_VMdebug_command
>  - ... and 10 more: https://git.openjdk.org/jdk/compare/730651a5...739bcbfa

Kevin, the PR title needs an update to match the CR title:
`jcmd should provide access to detailed JVM object information`

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

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


More information about the hotspot-runtime-dev mailing list