RFR: 8314029: Add file name parameter to Compiler.perfmap

Chris Plummer cjplummer at openjdk.org
Tue Nov 21 21:34:14 UTC 2023


On Thu, 21 Sep 2023 20:43:56 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 option for specifying a file name.
> 
> The help message of Compiler.perfmap:
> 
> Compiler.perfmap
> Write map file for Linux perf tool.
> 
> Impact: Low
> 
> Syntax : Compiler.perfmap [options]
> 
> Options: (options must be specified using the <key> or <key>=<value> syntax)
>         filename : [optional] Name of the map file (STRING, no default value)

@yftsai  Since you requested a CSR review, I assume you want this PR re-opened. Can you please re-open it in that case.

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

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


More information about the hotspot-dev mailing list