RFR: 8322811: jcmd System.dump_map help info has conflicting statements
Thomas Stuefe
stuefe at openjdk.org
Mon Jun 10 05:04:18 UTC 2024
@dholmes-ora this is one of yours.
This was a tad annoying to fix (fix is simple though), since the jcmd framework has no good way to allow for default parameters that are not used literally. E.g. in this case, the real value for the file name will contain the process pid, which of course cannot be hard-coded.
New output:
Syntax : System.dump_map [options]
Options: (options must be specified using the <key> or <key>=<value> syntax)
-H : [optional] Human readable format (BOOLEAN, false)
-F : [optional] file path (STRING, vm_memory_map_<pid>.txt)
-------------
Commit messages:
- JDK-8322811-jcmd-System-dump_map-help-info-has-conflicting-statements
Changes: https://git.openjdk.org/jdk/pull/19596/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19596&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8322811
Stats: 11 lines in 1 file changed: 7 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/19596.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19596/head:pull/19596
PR: https://git.openjdk.org/jdk/pull/19596
More information about the serviceability-dev
mailing list