RFR: 8335154: jcmd VM.classes -verbose=false does not set verbose to false

David Holmes dholmes at openjdk.org
Wed Jun 26 12:48:09 UTC 2024


On Wed, 26 Jun 2024 12:40:07 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

>> src/hotspot/share/services/diagnosticCommand.cpp line 995:
>> 
>>> 993: 
>>> 994: void ClassesDCmd::execute(DCmdSource source, TRAPS) {
>>> 995:   VM_PrintClasses vmop(output(), _verbose.value());
>> 
>> What if it wasn't set?
>
> It has a default value...  Generally "false" for _verbose DCmdArguments.

Ok

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19901#discussion_r1654750758


More information about the serviceability-dev mailing list