RFR: 8314029: Add file name parameter to Compiler.perfmap [v5]
David Holmes
dholmes at openjdk.org
Thu Nov 30 02:45:13 UTC 2023
On Tue, 28 Nov 2023 23:25:27 GMT, Yi-Fan Tsai <duke at openjdk.org> wrote:
>> `jcmd Compiler.perfmap` uses the hard-coded file name for a perf map: `/tmp/perf-%d.map`. This change adds an optional argument for specifying a file name.
>>
>> `jcmd PID help Compiler.perfmap` shows the following usage.
>>
>>
>> Compiler.perfmap
>> Write map file for Linux perf tool.
>>
>> Impact: Low
>>
>> Syntax : Compiler.perfmap [<filename>]
>>
>> Arguments:
>> filename : [optional] Name of the map file (STRING, no default value)
>>
>>
>> The man page of jcmd will be updated in a separate PR.
>
> Yi-Fan Tsai has updated the pull request incrementally with one additional commit since the last revision:
>
> Apply man changes
@yftsai , @plummercj my aplogies on the CSR situation. Since Sep 22 I have been reminded that changing the command-line of our diagnostic tools, is treated as a "diagnostic" option per the CSR FAQ and does not require a CSR request.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15871#issuecomment-1833017497
More information about the serviceability-dev
mailing list