-F : [optional] file path (defaults: "vm_memory_map_<pid>.txt") (STRING, no default value)
It instead reads:
-F : [optional] file path (STRING, "vm_memory_map_<pid>.txt")
Although the implementation produces the correct output, there is a bug in it. If you specify the literal "vm_memory_map_<pid>.txt" as the map file name, <pid> is still replaced with the actual process ID, but it shouldn't be.
The correct way to check if a default was provided is to use _filename.is_set() rather than strcmp to "vm_memory_map_<pid>.txt". See the fix for
- relates to
-
JDK-8322811 jcmd System.dump_map help info has conflicting statements
- Resolved