RFR: 8352112: [ubsan] hotspot/share/code/relocInfo.cpp:130:37: runtime error: applying non-zero offset 18446744073709551614 to null pointer [v2]
Johan Sjölen
jsjolen at openjdk.org
Thu Jul 31 08:34:03 UTC 2025
On Wed, 30 Jul 2025 15:51:42 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> We do not copy nmethods. At least until #23573 is integrated - and it will be under flag.
>>
>> `_mutable_data` field is initialized during final method installation into CodeCache - nothing modifies it for nmethods.
>>
>> I can add debug flag to CodeBlob to catch double free. But as I commented in [JDK-8361382](https://bugs.openjdk.org/browse/JDK-8361382) it is most likely the issue is a buffer overflow from preceding memory block which stomped over header.
>
> I will do experiment with flag and let you know.
Thank you
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24102#discussion_r2244724403
More information about the hotspot-compiler-dev
mailing list