RFR: 8323546: Clarify docs for Compiler.perfmap filename parameter, and other misc related jcmd doc cleanups [v4]
David Holmes
dholmes at openjdk.org
Sun Jan 14 01:08:21 UTC 2024
On Fri, 12 Jan 2024 10:27:53 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
>> Chris Plummer has updated the pull request incrementally with one additional commit since the last revision:
>>
>> fix default filename issue
>
> src/hotspot/share/services/diagnosticCommand.cpp line 866:
>
>> 864: const char* filename = _filename.value();
>> 865: if (strncmp(filename, DEFAULT_PERFMAP_FILENAME, strlen(DEFAULT_PERFMAP_FILENAME)) == 0) {
>> 866: filename = nullptr; // use the default filename based on the pid
>
> Nit: the indent has to be 2, not 4.
I only expected to see a change to the help string, I don't understand why the actual Dcmd is being modified here! ???
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17359#discussion_r1451634237
More information about the hotspot-runtime-dev
mailing list