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

Yi-Fan Tsai duke at openjdk.org
Tue Nov 28 23:25:27 UTC 2023


> `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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15871/files
  - new: https://git.openjdk.org/jdk/pull/15871/files/0ec20ea3..a7dcf426

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15871&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15871&range=03-04

  Stats: 11 lines in 1 file changed: 10 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/15871.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15871/head:pull/15871

PR: https://git.openjdk.org/jdk/pull/15871


More information about the serviceability-dev mailing list