RFR: 8352420: [ubsan] codeBuffer.cpp:984:27: runtime error: applying non-zero offset 18446744073709486080 to null pointer [v2]
Doug Simon
dnsimon at openjdk.org
Thu Mar 20 20:06:49 UTC 2025
On Thu, 20 Mar 2025 18:00:56 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> src/hotspot/share/asm/codeBuffer.hpp line 550:
>>
>>> 548: initialize_misc(name);
>>> 549: _total_start = 0;
>>> 550: _total_size = 0;
>>
>> May be we should move this initialization from `initialize()` to `initialize_misc()` so you don't need to do this here.
>
> Otherwise following constructor also doesn't set them. `initialize(csize_t code_size, csize_t locs_size)` does not.
Ok, moved.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24118#discussion_r2006360524
More information about the hotspot-compiler-dev
mailing list