RFR: JDK-8266419: [aix] in mmap mode, os::attempt_reserve_memory_at() fails to handle wrong mapping address
Thomas Stuefe
stuefe at openjdk.java.net
Wed May 5 11:59:17 UTC 2021
On Mon, 3 May 2021 06:36:15 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> On AIX, in mmap() mode, if the mmap call succeeds but not at the requested address, the mapping should be unmapped and the operation should count as error - like it is done on all other platforms.
>
> (AFAICS this is a day zero bug in our port - mmap mode is seldomly used).
>
> Tested: Nightlies at SAP with and without 4K pages.
Note that since we don't have that many AIX reviewers, and this only concerns AIX code, I go ahead and push. It is our port anyway, if something breaks we will have to fix it.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3834
More information about the hotspot-runtime-dev
mailing list