RFR: 8318026: jcmd should provide access to detailed JVM object information [v11]
David Holmes
dholmes at openjdk.org
Tue Apr 2 01:26:02 UTC 2024
On Wed, 27 Mar 2024 18:31:50 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 one additional commit since the last revision:
>
> Test more pointer types: compiled method and metadata.
src/hotspot/share/services/diagnosticCommand.cpp line 1254:
> 1252: DebuggingContext dc{}; // avoid asserts
> 1253:
> 1254: if (!UnlockDiagnosticVMOptions) {
Drive-by comment: As per the comment from @plummercj this flag should not be hijacked for this purpose. If you need a VM flag to control this feature then please add one. Thanks.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17655#discussion_r1547032078
More information about the serviceability-dev
mailing list