RFR: 8351334: [ubsan] memoryReserver.cpp:552:60: runtime error: applying non-zero offset 1073741824 to null pointer [v11]
Afshin Zafari
azafari at openjdk.org
Wed Nov 19 13:31:15 UTC 2025
On Mon, 17 Nov 2025 01:16:31 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision:
>>
>> fix arguments.cpp for HeapMinBaseAddress type.
>
> src/hotspot/share/memory/memoryReserver.cpp line 549:
>
>> 547: const size_t attach_point_alignment = lcm(alignment, os_attach_point_alignment);
>> 548:
>> 549: uintptr_t aligned_heap_base_min_address = align_up(MAX2(HeapBaseMinAddress, alignment), alignment);
>
> Just to be clear, this is the crux of the fix, where we ensure the min-address is now never zero - right?
Right.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26955#discussion_r2542017385
More information about the hotspot-gc-dev
mailing list