RFR: 8369527: NMT: print malloc-site when a malloc'd memory detected as corrupted

Afshin Zafari azafari at openjdk.org
Mon Oct 13 10:34:19 UTC 2025


On NMT detail mode, the allocation-sites of malloc'd memory regions are also stored. Using this information, the call-stack of a corrupted memory can also be printed as the error message.

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

Commit messages:
 - 8369527: NMT: print malloc-site when a malloc'd memory detected as corrupted

Changes: https://git.openjdk.org/jdk/pull/27764/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27764&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8369527
  Stats: 29 lines in 5 files changed: 25 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/27764.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27764/head:pull/27764

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


More information about the hotspot-runtime-dev mailing list