JDK-8334145 : missing from vm_memory_map_.txt in System.dump_map help text
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 23,24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-06-12
  • Updated: 2024-07-29
  • Resolved: 2024-07-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24 b08Fixed
Related Reports
Duplicate :  
Relates :  
Description
JDK-8319948 updated the help text for the System.dump_map jcmd. The following line was added to jcmd.md:

    - `-F`: (Optional) File path (STRING, "vm_memory_map_<pid>.txt")

It becomes the following in jcmd.l (the <pid> part is stripped)

\f[V]-F\f[R]: (Optional) File path (STRING,
\[dq]vm_memory_map_.txt\[dq]) 

The following should have been used instead:

    - `-F`: (Optional) File path (STRING, "vm_memory_map_\<pid\>.txt")
Comments
Changeset: b144910e Branch: master Author: Chris Plummer <cjplummer@openjdk.org> Date: 2024-07-22 18:56:30 +0000 URL: https://git.openjdk.org/jdk/commit/b144910ebb74be5a12dae57263f2a93452535f02
22-07-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/20246 Date: 2024-07-19 01:44:16 +0000
19-07-2024

[~dholmes] Ah yes, I found that out later in the day. Thanks for removing me.
14-06-2024

[~szaldana] thanks for offering to fix this, but you don't have access to the markdown source so this has to be fixed by someone from Oracle.
14-06-2024