RFR: 8314029: Add file name parameter to Compiler.perfmap
David Holmes
dholmes at openjdk.org
Fri Sep 22 02:52:20 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)
This will also need a CSR request created and approved.
src/jdk.jcmd/share/man/jcmd.1 line 1:
> 1: .\" Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
The actual markdown source for this file needs to be updated with these changes. Those sources are not open-source unfortunately. Please either coordinate to get the sources updated with an Oracle developer as part of this PR (they will integrate the internal part), or else please defer this to a subtask and let an Oracle developer update the source and output at the same time. Thanks.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15871#issuecomment-1730731221
PR Review Comment: https://git.openjdk.org/jdk/pull/15871#discussion_r1333823529
More information about the serviceability-dev
mailing list