RFR: 8346714: [ASAN] compressedKlass.cpp reported applying non-zero offset to null pointer [v2]
SendaoYan
syan at openjdk.org
Fri Dec 20 15:15:35 UTC 2024
On Fri, 20 Dec 2024 14:02:25 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
> "encoding" is the correct spelling. If you cast `_base` and `encoding_offset` to `uintptr_t` you can do the addition without null check. (Then cast the sum back to `address`.)
Thanks for the advice. PR has been updated.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22848#issuecomment-2557194481
More information about the hotspot-dev
mailing list