Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8318636 Add jcmd to print annotated process memory map
  3. JDK-8350475

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

XMLWordPrintable

        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.

              stuefe Thomas Stuefe
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: