RFR: 8314029: Add file name parameter to Compiler.perfmap [v6]
Yi-Fan Tsai
duke at openjdk.org
Sat Dec 2 01:28:59 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:
Remove DefaultPerfMapFile
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/15871/files
- new: https://git.openjdk.org/jdk/pull/15871/files/a7dcf426..6a854920
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=15871&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=15871&range=04-05
Stats: 26 lines in 4 files changed: 9 ins; 15 del; 2 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