RFR: 8319873: Add windows implementation for jcmd System.map and System.dump_map
Simon Tooke
stooke at openjdk.org
Mon Aug 19 17:17:58 UTC 2024
This is a port of [JDK-8318636](https://github.com/openjdk/jdk/pull/16301) to Windows.
System.map and System.dump_map are implemented using the Windows API and provide roughly the same information in the same format. Most of the heavy lifting was implemented by @tstuefe in #16301 - this PR adds the Windows implementation and enables the common code for Windows 64 bit.
[Sample output (with NMT enabled)](https://github.com/user-attachments/files/16663332/vm_memory_map_760.txt)
-------------
Commit messages:
- Merge remote-tracking branch 'upstream' into pr_windows_system_dump
- fix trailing whitespace issues
- fix whitespace issues
- formatting tweak
- Merge branch 'openjdk:master' into pr_windows_system_dump
- fix OS detection
- cleanup for PR
- enabled jtreg tests on Windows
- Merge branch 'openjdk:master' into pr_windows_system_dump
- some PR cleanup
- ... and 2 more: https://git.openjdk.org/jdk/compare/e07a5b66...5c401a36
Changes: https://git.openjdk.org/jdk/pull/20597/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20597&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8319873
Stats: 317 lines in 8 files changed: 303 ins; 0 del; 14 mod
Patch: https://git.openjdk.org/jdk/pull/20597.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20597/head:pull/20597
PR: https://git.openjdk.org/jdk/pull/20597
More information about the serviceability-dev
mailing list