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

Simon Tooke stooke at openjdk.org
Wed Dec 4 19:59:55 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 using G1GC](https://github.com/user-attachments/files/17558064/g1_map.txt)
> [sample output using ZGC](https://github.com/user-attachments/files/17558067/zgc_map.txt)

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

  latest cleanup, get rid of dll info

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

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

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

  Stats: 206 lines in 2 files changed: 26 ins; 161 del; 19 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 serviceability-dev mailing list