RFR: 8314029: Add file name parameter to Compiler.perfmap [v5]

Chris Plummer cjplummer at openjdk.org
Fri Dec 1 21:13:37 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  Can you update the man page output in the PR description? Thanks.

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

PR Comment: https://git.openjdk.org/jdk/pull/15871#issuecomment-1836781584


More information about the hotspot-dev mailing list