RFR: 8364198: NMT should have a better corruption message
    Johan Sjölen 
    jsjolen at openjdk.org
       
    Mon Jul 28 14:20:08 UTC 2025
    
    
  
Hi,
When NMT detects a memory corruption it outputs "NMT corruption" and some helpful metadata. I'd like to change the prefix to "NMT has detected a memory corruption bug.". I want to do this because the old message sounds like it is NMT itself that has become corrupted, which is not what's happened. Instead, it should be clear that NMT has helped detect a bug stemming from somewhere else. This is meant to help avoid someone misunderstanding the message.
-------------
Commit messages:
 - Make NMT message friendlier
Changes: https://git.openjdk.org/jdk/pull/26507/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26507&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8364198
  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/26507.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26507/head:pull/26507
PR: https://git.openjdk.org/jdk/pull/26507
    
    
More information about the hotspot-runtime-dev
mailing list