RFR: 8364198: NMT should have a better corruption message
Thomas Stuefe
stuefe at openjdk.org
Tue Jul 29 05:30:57 UTC 2025
On Mon, 28 Jul 2025 14:14:26 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:
> 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.
Thanks. That makes a lot of sense. I was getting sick of defending NMT :)
-------------
Marked as reviewed by stuefe (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/26507#pullrequestreview-3065525407
More information about the hotspot-runtime-dev
mailing list