RFR: 8352112: [ubsan] hotspot/share/code/relocInfo.cpp:130:37: runtime error: applying non-zero offset 18446744073709551614 to null pointer [v2]
Vladimir Kozlov
kvn at openjdk.org
Thu Mar 20 05:23:07 UTC 2025
On Thu, 20 Mar 2025 02:19:43 GMT, Dean Long <dlong at openjdk.org> wrote:
>> Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update field default setting
>
> src/hotspot/share/code/codeBlob.cpp line 187:
>
>> 185: if (_mutable_data != blob_end()) {
>> 186: os::free(_mutable_data);
>> 187: _mutable_data = blob_end(); // Valid not null address
>
> Do we still need this to be a valid address after purge(), or can we set it to nullptr here?
Then we will have to check for nullptr too I think. I prefer to have only 2 states of the field value.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24102#discussion_r2004829688
More information about the hotspot-compiler-dev
mailing list