Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8322811

jcmd System.dump_map help info has conflicting statements

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 22
    • hotspot
    • 22
    • b02

      This is the help output:

      System.dump_map
      Dumps an annotated process memory map to an output file (linux only).

      Impact: Low

      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 (defaults: "vm_memory_map_<pid>.txt") (STRING, no default value)

      The documentation for the -F option states there is both a default and not a default, value. It should read:

      -F : [optional] file path (STRING, "vm_memory_map_<pid>.txt")

            stuefe Thomas Stuefe
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: