[jdk21u-dev] RFR: 8322475: Extend printing for System.map

Andreas Steiner asteiner at openjdk.org
Wed Apr 9 09:40:19 UTC 2025


Follow up change for https://bugs.openjdk.org/browse/JDK-8318636 as mentioned in https://github.com/openjdk/jdk21u-dev/pull/1415

Resolved conflicts:
src/hotspot/share/nmt/memMapPrinter.cpp
- include order

src/hotspot/share/runtime/java.cpp
- Removed PrintMemoryMapAtExit as this was not backported to 21

src/hotspot/share/services/diagnosticCommand.cpp
- missing default_filename definition added for the changed SystemDumpMapDCmd

src/hotspot/share/utilities/ostream.cpp
- Removed print_raw as this was not backported to 21
- didn't change the write method as base change JDK-8319318 was not 21

test/hotspot/jtreg/serviceability/dcmd/vm/SystemMapTest.java
- OutputAnalyzer in 21 is missing the convenience contains method

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

Commit messages:
 - Backport 8aaec37ace102b55ee1387cfd1967ec3ab662083

Changes: https://git.openjdk.org/jdk21u-dev/pull/1619/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1619&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8322475
  Stats: 617 lines in 13 files changed: 426 ins; 104 del; 87 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1619.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1619/head:pull/1619

PR: https://git.openjdk.org/jdk21u-dev/pull/1619


More information about the jdk-updates-dev mailing list