<div dir="auto">Hi Kevin,</div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">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. </div><div dir="auto"><br></div><div dir="auto">That said, what use case do you envisage? To me, these commands are usually only useful in the debugger, when I deal with numerical adresses.</div><div dir="auto"><br></div><div dir="auto">Cheers, Thomas </div><div dir="auto"><br></div><div dir="auto">p.s. please note that many folks are at fosdem right now.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri 2. Feb 2024 at 19:35, Kevin Walls <<a href="mailto:kevinw@openjdk.org">kevinw@openjdk.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Introduce the jcmd "VM.debug" to implement access to a useful set of the established debug.cpp utilities, with "jcmd PID VM.debug subcommand ...".<br>
<br>
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 not general customer-facing tools.<br>
<br>
-------------<br>
<br>
Commit messages:<br>
- Tidy up the safety checks<br>
- Whitebox not required, just check option properties.<br>
- unnecessary parameter to find<br>
- Test update. Recognise ZGC oops differently. Formatting.<br>
- typo<br>
- Separate is_good_oop... method to avoid changing existing asserts.<br>
- More oop safety<br>
- 8318026: jcmd should provide access to low-level JVM debug information<br>
<br>
Changes: <a href="https://git.openjdk.org/jdk/pull/17655/files" rel="noreferrer" target="_blank">https://git.openjdk.org/jdk/pull/17655/files</a><br>
Webrev: <a href="https://webrevs.openjdk.org/?repo=jdk&pr=17655&range=00" rel="noreferrer" target="_blank">https://webrevs.openjdk.org/?repo=jdk&pr=17655&range=00</a><br>
Issue: <a href="https://bugs.openjdk.org/browse/JDK-8318026" rel="noreferrer" target="_blank">https://bugs.openjdk.org/browse/JDK-8318026</a><br>
Stats: 371 lines in 5 files changed: 369 ins; 0 del; 2 mod<br>
Patch: <a href="https://git.openjdk.org/jdk/pull/17655.diff" rel="noreferrer" target="_blank">https://git.openjdk.org/jdk/pull/17655.diff</a><br>
Fetch: git fetch <a href="https://git.openjdk.org/jdk.git" rel="noreferrer" target="_blank">https://git.openjdk.org/jdk.git</a> pull/17655/head:pull/17655<br>
<br>
PR: <a href="https://git.openjdk.org/jdk/pull/17655" rel="noreferrer" target="_blank">https://git.openjdk.org/jdk/pull/17655</a><br>
</blockquote></div></div>