RFR: 8319875: Add macOS implementation for jcmd System.map [v2]

Simon Tooke stooke at openjdk.org
Mon Oct 28 14:40:44 UTC 2024


> This is a port of #16301  to macOS.
> 
> System.map and System.dump_map are implemented using the macOS API and provide roughly the same information in the same format. Most of the heavy lifting was implemented by @tstuefe in https://github.com/openjdk/jdk/pull/16301 - this PR adds the macOS implementation and enables the common code for macOS 64 bit.
> 
> The System.map tests are also reworked to be cleaner for the three implementations.
> 
> [Sample output](https://github.com/user-attachments/files/17517412/sample.txt)

Simon Tooke has updated the pull request incrementally with one additional commit since the last revision:

  changes from review

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/20953/files
  - new: https://git.openjdk.org/jdk/pull/20953/files/c6628d30..7bbb03da

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20953&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20953&range=00-01

  Stats: 88 lines in 1 file changed: 3 ins; 42 del; 43 mod
  Patch: https://git.openjdk.org/jdk/pull/20953.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20953/head:pull/20953

PR: https://git.openjdk.org/jdk/pull/20953


More information about the hotspot-runtime-dev mailing list