In the jcmd map page: https://docs.oracle.com/en/java/javase/22/docs/specs/man/jcmd.html, under "System.dump_map [options] (Linux only)" you find the option:
-F: (Optional) File path (STRING, "vm_memory_map_.txt")
but it actually should
-F: (Optional) File path (STRING, "vm_memory_map_<pid>.txt")
The issue is that the "<" sign is not correctly escaped, and it should be <pid> or <pid>: rather than <pid>
Running tidy using the "-q -e --gnu-emacs true" options on specs/man/java.html gives the following specs/man/java.html
jcmd.html
jcmd.html:698:16: Error: <pid> is not recognized!
jcmd.html:698:16: Warning: discarding unexpected <pid>
-F: (Optional) File path (STRING, "vm_memory_map_.txt")
but it actually should
-F: (Optional) File path (STRING, "vm_memory_map_<pid>.txt")
The issue is that the "<" sign is not correctly escaped, and it should be <pid> or <pid>: rather than <pid>
Running tidy using the "-q -e --gnu-emacs true" options on specs/man/java.html gives the following specs/man/java.html
jcmd.html
jcmd.html:698:16: Error: <pid> is not recognized!
jcmd.html:698:16: Warning: discarding unexpected <pid>
- duplicates
-
JDK-8334145 <pid> missing from vm_memory_map_<pid>.txt in System.dump_map help text
-
- Resolved
-