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

2024-03-26 Thread Serguei Spitsyn
On Tue, 26 Mar 2024 17:01:49 GMT, Kevin Walls 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

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

2024-03-26 Thread Serguei Spitsyn
On Tue, 26 Mar 2024 17:01:49 GMT, Kevin Walls 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

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

2024-03-26 Thread Kevin Walls
> 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

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

2024-03-22 Thread Serguei Spitsyn
On Tue, 5 Mar 2024 11:31:13 GMT, Kevin Walls wrote: >> Introduce the jcmd "VM.debug" to implement access to a useful set of the >> established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". >> >> Not recommended for live production use. Calling these "debug" utilities, >> and

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

2024-03-22 Thread Kevin Walls
On Tue, 5 Mar 2024 11:31:13 GMT, Kevin Walls wrote: >> Introduce the jcmd "VM.debug" to implement access to a useful set of the >> established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". >> >> Not recommended for live production use. Calling these "debug" utilities, >> and

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

2024-03-06 Thread Thomas Stuefe
On Tue, 5 Mar 2024 11:31:13 GMT, Kevin Walls wrote: >> Introduce the jcmd "VM.debug" to implement access to a useful set of the >> established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". >> >> Not recommended for live production use. Calling these "debug" utilities, >> and

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

2024-03-06 Thread Kevin Walls
On Tue, 5 Mar 2024 11:31:13 GMT, Kevin Walls wrote: >> Introduce the jcmd "VM.debug" to implement access to a useful set of the >> established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". >> >> Not recommended for live production use. Calling these "debug" utilities, >> and

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

2024-03-05 Thread Thomas Stuefe
On Mon, 4 Mar 2024 22:02:53 GMT, Kevin Walls wrote: >> Kevin Walls has updated the pull request incrementally with three additional >> commits since the last revision: >> >> - Usage correction >> - Help to clarify this is VM inspection. Comment to relate source to >> debug.cpp. >> -

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

2024-03-05 Thread Kevin Walls
> Introduce the jcmd "VM.debug" to implement access to a useful set of the > established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". > > Not recommended for live production use. Calling these "debug" utilities, > and not including them in the jcmd help output, is to remind us

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

2024-03-05 Thread Kevin Walls
> Introduce the jcmd "VM.debug" to implement access to a useful set of the > established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". > > Not recommended for live production use. Calling these "debug" utilities, > and not including them in the jcmd help output, is to remind us

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

2024-03-05 Thread Kevin Walls
> Introduce the jcmd "VM.debug" to implement access to a useful set of the > established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". > > Not recommended for live production use. Calling these "debug" utilities, > and not including them in the jcmd help output, is to remind us

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

2024-03-04 Thread Kevin Walls
On Mon, 4 Mar 2024 15:10:12 GMT, Kevin Walls wrote: >> Introduce the jcmd "VM.debug" to implement access to a useful set of the >> established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". >> >> Not recommended for live production use. Calling these "debug" utilities, >> and

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

2024-03-04 Thread Thomas Stuefe
On Mon, 4 Mar 2024 15:10:12 GMT, Kevin Walls wrote: >> Introduce the jcmd "VM.debug" to implement access to a useful set of the >> established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". >> >> Not recommended for live production use. Calling these "debug" utilities, >> and

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

2024-03-04 Thread Kevin Walls
> Introduce the jcmd "VM.debug" to implement access to a useful set of the > established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". > > Not recommended for live production use. Calling these "debug" utilities, > and not including them in the jcmd help output, is to remind us

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

2024-03-04 Thread Kevin Walls
On Tue, 27 Feb 2024 01:30:27 GMT, Serguei Spitsyn wrote: >> Kevin Walls has updated the pull request incrementally with three additional >> commits since the last revision: >> >> - Usage correction >> - Help to clarify this is VM inspection. Comment to relate source to >> debug.cpp. >> -

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

2024-03-01 Thread Kevin Walls
> Introduce the jcmd "VM.debug" to implement access to a useful set of the > established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". > > Not recommended for live production use. Calling these "debug" utilities, > and not including them in the jcmd help output, is to remind us

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

2024-02-29 Thread Kevin Walls
On Tue, 27 Feb 2024 01:27:54 GMT, Serguei Spitsyn wrote: >> 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 11 additional >>

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

2024-02-29 Thread Kevin Walls
> Introduce the jcmd "VM.debug" to implement access to a useful set of the > established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". > > Not recommended for live production use. Calling these "debug" utilities, > and not including them in the jcmd help output, is to remind us

Re: RFR: 8318026: jcmd should provide access to low-level JVM debug information

2024-02-26 Thread Serguei Spitsyn
On Wed, 31 Jan 2024 14:22:44 GMT, Kevin Walls wrote: > Introduce the jcmd "VM.debug" to implement access to a useful set of the > established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". > > Not recommended for live production use. Calling these "debug" utilities, > and not

Re: RFR: 8318026: jcmd should provide access to low-level JVM debug information

2024-02-05 Thread Laurence Cable
On 2/5/24 1:56 AM, Kevin Walls wrote: On Mon, 5 Feb 2024 09:25:24 GMT, Yi Yang wrote: jcmd VM.debug MyDebugCode.java Are you thinking to run some Java code in the target JVM? VM.debug as presented here is all about inspecting JVM state, mostly using existing mechanisms but which were

Re: RFR: 8318026: jcmd should provide access to low-level JVM debug information

2024-02-05 Thread Kevin Walls
On Mon, 5 Feb 2024 09:25:24 GMT, Yi Yang wrote: > jcmd VM.debug MyDebugCode.java Are you thinking to run some Java code in the target JVM? VM.debug as presented here is all about inspecting JVM state, mostly using existing mechanisms but which were not already exposed in jcmd. I think this

Re: RFR: 8318026: jcmd should provide access to low-level JVM debug information

2024-02-05 Thread Kevin Walls
On Sun, 4 Feb 2024 23:07:27 GMT, David Holmes wrote: > > not including them in the jcmd help output, is to remind us they are not > > general customer-facing tools. > > Then who are they for? and do they really belong in the `jcmd` tool, or is > that just convenient? > > Without help

Re: RFR: 8318026: jcmd should provide access to low-level JVM debug information

2024-02-05 Thread Yi Yang
On Wed, 31 Jan 2024 14:22:44 GMT, Kevin Walls wrote: > Introduce the jcmd "VM.debug" to implement access to a useful set of the > established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". > > Not recommended for live production use. Calling these "debug" utilities, > and not

Re: RFR: 8318026: jcmd should provide access to low-level JVM debug information

2024-02-05 Thread Kevin Walls
On Mon, 5 Feb 2024 07:21:05 GMT, Alan Bateman wrote: > ...needs wider review and a CSR should be submitted for this. Sure no problem I will refresh the linked CSR. - PR Comment: https://git.openjdk.org/jdk/pull/17655#issuecomment-1926513588

RE: RFR: 8318026: jcmd should provide access to low-level JVM debug information

2024-02-05 Thread Kevin Walls
t; many folks are at fosdem right now. I hope they have a great time. 8-) Thanks Kevin From: Thomas Stüfe Sent: 02 February 2024 21:42 To: Kevin Walls Cc: hotspot-runtime-...@openjdk.org; serviceability-dev@openjdk.org Subject: Re: RFR: 8318026: jcmd should provide access to low-level JVM debug informat

Re: RFR: 8318026: jcmd should provide access to low-level JVM debug information

2024-02-04 Thread Alan Bateman
On Wed, 31 Jan 2024 14:22:44 GMT, Kevin Walls wrote: > Introduce the jcmd "VM.debug" to implement access to a useful set of the > established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". > > Not recommended for live production use. Calling these "debug" utilities, > and not

Re: RFR: 8318026: jcmd should provide access to low-level JVM debug information

2024-02-04 Thread David Holmes
On Wed, 31 Jan 2024 14:22:44 GMT, Kevin Walls wrote: > not including them in the jcmd help output, is to remind us they are not > general customer-facing tools. Then who are they for? and do they really belong in the `jcmd` tool, or is that just convenient? Without help information who will

Re: RFR: 8318026: jcmd should provide access to low-level JVM debug information

2024-02-02 Thread Thomas Stüfe
Hi Kevin, Having a clear command spec to read and argue about would be helpful, especially since this is not a simple commnd but a whole command group. Exposing such a low level interface (this is supposed to go into product VMs, right?) may carry some risks that could arguably fall unter CSR.

Re: RFR: 8318026: jcmd should provide access to low-level JVM debug information

2024-02-02 Thread Ludvig Janiuk
On Wed, 31 Jan 2024 14:22:44 GMT, Kevin Walls wrote: > Introduce the jcmd "VM.debug" to implement access to a useful set of the > established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". > > Not recommended for live production use. Calling these "debug" utilities, > and not

Re: RFR: 8318026: jcmd should provide access to low-level JVM debug information

2024-02-02 Thread Ludvig Janiuk
On Thu, 1 Feb 2024 15:47:24 GMT, Ludvig Janiuk wrote: >> Introduce the jcmd "VM.debug" to implement access to a useful set of the >> established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". >> >> Not recommended for live production use. Calling these "debug" utilities, >>

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

2024-02-02 Thread Kevin Walls
Introduce the jcmd "VM.debug" to implement access to a useful set of the established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". Not recommended for live production use. Calling these "debug" utilities, and not including them in the jcmd help output, is to remind us they are

Re: RFR: 8318026: jcmd should provide access to low-level JVM debug information

2024-02-02 Thread Kevin Walls
On Wed, 31 Jan 2024 14:22:44 GMT, Kevin Walls wrote: > Introduce the jcmd "VM.debug" to implement access to a useful set of the > established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...". > > Not recommended for live production use. Calling these "debug" utilities, > and not