> `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: Fix PerfMapTest ------------- Changes: - all: https://git.openjdk.org/jdk/pull/15871/files - new: https://git.openjdk.org/jdk/pull/15871/files/61d6f6f4..0ec20ea3 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=15871&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15871&range=02-03 Stats: 1 line in 1 file changed: 0 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