RFR: 8346714: [ASAN] compressedKlass.cpp reported applying non-zero offset to null pointer [v2]

SendaoYan syan at openjdk.org
Fri Dec 20 16:08:12 UTC 2024


On Fri, 20 Dec 2024 15:41:46 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> I still prefer using `uintptr_t` because `intptr_t` has undefined behavior on overflow. 

Sorry, got it now. The `_base` and offset has been cast to `uintptr_t`.

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

PR Comment: https://git.openjdk.org/jdk/pull/22848#issuecomment-2557283177


More information about the hotspot-dev mailing list