RFR: 8351334: [ubsan] memoryReserver.cpp:552:60: runtime error: applying non-zero offset 1073741824 to null pointer [v9]
Afshin Zafari
azafari at openjdk.org
Thu Oct 30 11:44:41 UTC 2025
On Wed, 27 Aug 2025 16:50:57 GMT, Francesco Andreuzzi <fandreuzzi at openjdk.org> wrote:
>> Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision:
>>
>> removed redundant check of overflow.
>
> src/hotspot/share/memory/memoryReserver.cpp line 552:
>
>> 550:
>> 551: char* aligned_heap_base_min_address = align_up((char*)HeapBaseMinAddress, alignment);
>> 552: assert(aligned_heap_base_min_address != 0,"Should not be 0");
>
> Suggestion:
>
> assert(aligned_heap_base_min_address != 0, "Should not be 0");
Done.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26955#discussion_r2477744601
More information about the hotspot-gc-dev
mailing list