RFR: 8367862: debug.cpp: Do not print help message for methods ifdef'd out [v3]

duke duke at openjdk.org
Mon Sep 22 15:06:08 UTC 2025


On Mon, 22 Sep 2025 09:55:23 GMT, Kerem Kat <krk at openjdk.org> wrote:

>> The `help` command in `debug.cpp` was out of date, listing only a fraction of the available functions. This and other commands callable from gdb via `call help()`.
>> 
>> I added all commands to the help message, except `pns2` as it is documented as not being useful when called from gdb.
>> 
>> Also fixed is the message for the conditional `pns` command appearing in PRODUCT builds.
>
> Kerem Kat has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update src/hotspot/share/utilities/debug.cpp
>   
>   Co-authored-by: Manuel Hässig <manuel at haessig.org>

@krk 
Your change (at version 1cf2bf5989cb0584a304e2197e5ac4046575f06f) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/27341#issuecomment-3319598153


More information about the hotspot-dev mailing list