RFR: 8325108: POSIX map_memory_to_file calls release_memory incorrectly
Johan Sjölen
jsjolen at openjdk.org
Thu Aug 1 11:46:55 UTC 2024
On Tue, 30 Jul 2024 18:25:24 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>MAP_FIXED uses the address given. If it works, the resulting mapping starts at address. I would just assert here. Handling something that cannot happen makes little sense, and it is confusing to read.
Good to hear that someone else shares the same interpretation of those docs. I changed the code to assert instead.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17669#issuecomment-2262832244
More information about the hotspot-runtime-dev
mailing list