Integrated: JDK-8266506: [aix] Treat mapping attempt too close to BRK as a mapping error
Thomas Stuefe
stuefe at openjdk.java.net
Wed May 5 12:01:24 UTC 2021
On Tue, 4 May 2021 15:28:21 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> On AIX, in os::attempt_reserve_memory_at(), if the user specified a wish address too close to the BRK segment, we silently ignore the wish address and just map anywhere.
>
> This is not the right behavior since the normal behavior when failing to map to a wish address is to return NULL (see JDK-8266419). Therefore we should return NULL in these cases instead.
>
> This is a day zero bug.
This pull request has now been integrated.
Changeset: 0ac84d18
Author: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/0ac84d18133857a75769e2bb3ac2c2d2f9508191
Stats: 8 lines in 1 file changed: 0 ins; 0 del; 8 mod
8266506: [aix] Treat mapping attempt too close to BRK as a mapping error
Reviewed-by: mdoerr
-------------
PR: https://git.openjdk.java.net/jdk/pull/3859
More information about the hotspot-runtime-dev
mailing list