RFR: 8314029: Add file name parameter to Compiler.perfmap
Yi-Fan Tsai
duke at openjdk.org
Thu Sep 21 21:00:49 UTC 2023
`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)
-------------
Commit messages:
- Update parameter name
- Update jcmd man page
- Change to use filename and add a test
- 8314029: Add file name parameter to Compiler.perfmap
Changes: https://git.openjdk.org/jdk/pull/15871/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15871&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8314029
Stats: 69 lines in 7 files changed: 49 ins; 5 del; 15 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