RFR: 8351334: [ubsan] memoryReserver.cpp:552:60: runtime error: applying non-zero offset 1073741824 to null pointer [v8]

Afshin Zafari azafari at openjdk.org
Thu Oct 30 11:28:20 UTC 2025


On Tue, 28 Oct 2025 10:31:25 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> No difference other than not depends on the other conditions. The existing condition needs two more conjunctions to be true.
>> Without this change here, when we run jvm with the options as shown in this [comment](https://github.com/openjdk/jdk/pull/26955#issuecomment-3241790796 
>> ) (to make the HeapMinBaseAddress overflow) it crashes with an assertion.
>
> If they are the same then we no longer need the conditional one surely. ??

Yes, removed the redundant check.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/26955#discussion_r2477668213


More information about the hotspot-gc-dev mailing list