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

Release Note: New System.map and System.dump_map Diagnostic Commands Have Been Added

XMLWordPrintable

    • Icon: Backport Backport
    • Resolution: Unresolved
    • Icon: P4 P4
    • 21.0.8
    • 21.0.8
    • hotspot

      New `System.map` and `System.dump_map` diagnostic commands have been added to jcmd. When executed, these commands print the virtual memory map of the JVM process, together with Native Memory Tracking information about the virtual memory segments. For the latter information to be displayed, Native Memory Tracking must be enabled.

      `jcmd <pid> System.map` will print the virtual memory map of the JVM indicated by `<pid>` to the stdout of `jcmd`.

      `jcmd <pid> System.dump_map` will cause the target JVM indicated by `<pid>` to print the virtual memory map to a file named `vm_memory_map_<pid>.txt` into the current directory of the target JVM.

            goetz Goetz Lindenmaier
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: