RFR: 8342893: Highlight special values in hserr file printing [v2]

Dean Long dlong at openjdk.org
Mon Nov 4 21:10:28 UTC 2024


On Mon, 4 Nov 2024 15:10:49 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> There are some special values indicating memory corruption or problematic states. Those should be highlighted / pointed out in some way when printing parts of the hserr / hsinfo file (like register values or locations),
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   compile error on Linux x86 and arm 32bit

src/hotspot/share/runtime/os.cpp line 1346:

> 1344: #ifndef PRODUCT
> 1345:     // corruption or uninitialized access pattern
> 1346:     const intptr_t pat = 0xabababababababab;

How about constructing this from `badResourceValue`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21811#discussion_r1828391118


More information about the hotspot-dev mailing list