RFR: 8361043: [ubsan] os::print_hex_dump runtime error: applying non-zero offset 8 to null pointer

Matthias Baesken mbaesken at openjdk.org
Tue Jul 1 07:43:41 UTC 2025


On Mon, 30 Jun 2025 08:14:01 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Forcing unsigned arithmetic doesn't seem right if `unitsize` is a signed int - it will work here as `unitsize` is always positive, but it looks weird to me. Does this compile okay on all platforms e.g. Windows?

Yes it compiles on all our platforms, including  MSVC 2022 .

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26037#discussion_r2176677378


More information about the hotspot-runtime-dev mailing list