Integrated: 8364198: NMT should have a better corruption message
Johan Sjölen
jsjolen at openjdk.org
Tue Jul 29 08:40:02 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.
This pull request has now been integrated.
Changeset: 2202156a
Author: Johan Sjölen <jsjolen at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/2202156acc78d7d9ec128f8df5c09fcdff83697c
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
8364198: NMT should have a better corruption message
Reviewed-by: kvn, stuefe
-------------
PR: https://git.openjdk.org/jdk/pull/26507
More information about the hotspot-runtime-dev
mailing list