Integrated: 8319875: Add macOS implementation for jcmd System.map
Simon Tooke
stooke at openjdk.org
Sat Dec 14 06:16:45 UTC 2024
On Wed, 11 Sep 2024 18:22:00 GMT, Simon Tooke <stooke at openjdk.org> wrote:
> 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)
This pull request has now been integrated.
Changeset: 3b9de117
Author: Simon Tooke <stooke at openjdk.org>
Committer: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/3b9de117e83a7875df7fd2ddcc9d896f027e2c92
Stats: 583 lines in 9 files changed: 505 ins; 40 del; 38 mod
8319875: Add macOS implementation for jcmd System.map
Reviewed-by: stuefe, szaldana
-------------
PR: https://git.openjdk.org/jdk/pull/20953
More information about the hotspot-runtime-dev
mailing list