Integrated: 8329656: assertion failed in MAP_ARCHIVE_MMAP_FAILURE path: Invalid immediate -5 0
Thomas Stuefe
stuefe at openjdk.org
Thu Apr 11 05:26:45 UTC 2024
On Tue, 9 Apr 2024 15:06:40 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> It fixes an embarrassing OOB memory access when rolling the dice to get a random class space location on aarch64.
>
> Thanks to @calvinccheung for finding this bug.
>
> The fix is to make all relevant variables unsigned, thus preventing negative overflow.
This pull request has now been integrated.
Changeset: d9c84e76
Author: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d9c84e763a0880d33586dbb8dc90b66ede030444
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
8329656: assertion failed in MAP_ARCHIVE_MMAP_FAILURE path: Invalid immediate -5 0
Reviewed-by: ccheung, iklam
-------------
PR: https://git.openjdk.org/jdk/pull/18698
More information about the hotspot-compiler-dev
mailing list