RFR: 8331731: ubsan: relocInfo.cpp:155:30: runtime error: applying non-zero offset 18446744073709551614 to null pointer

Matthias Baesken mbaesken at openjdk.org
Tue May 28 14:20:01 UTC 2024


On Tue, 28 May 2024 13:37:30 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> Doesn't look very nice, but should work.

I agree, it does not look very nice.  Not sure what is better, disabling ubsan for the methods or use the code you suggested.
Or maybe add some helper template/macro for pointer additions that covers  those cases and handles nullptr nicely ?

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

PR Comment: https://git.openjdk.org/jdk/pull/19424#issuecomment-2135332511


More information about the hotspot-compiler-dev mailing list