RFR: 8325108: POSIX map_memory_to_file calls release_memory unnecessarily [v2]
Johan Sjölen
jsjolen at openjdk.org
Thu Jan 8 18:34:10 UTC 2026
On Thu, 8 Jan 2026 18:12:47 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> Johan Sjölen has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Check for expected invariant
>
> src/hotspot/os/posix/os_posix.cpp line 460:
>
>> 458: return nullptr;
>> 459: }
>> 460: if (base != nullptr && addr != base) {
>
> Can you turn this into an assert with a comment in the assert string why this isn't possible?
Fixed!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29081#discussion_r2673424523
More information about the hotspot-runtime-dev
mailing list