RFR: JDK-8329656: assertion failed in MAP_ARCHIVE_MMAP_FAILURE path: Invalid immediate -5 0
Calvin Cheung
ccheung at openjdk.org
Wed Apr 10 00:31:08 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.
Looks good. Thanks!
-------------
Marked as reviewed by ccheung (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/18698#pullrequestreview-1990497114
More information about the hotspot-compiler-dev
mailing list