RFR: JDK-8329656: assertion failed in MAP_ARCHIVE_MMAP_FAILURE path: Invalid immediate -5 0
Thomas Stuefe
stuefe at openjdk.org
Wed Apr 10 16:03:59 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.
@MBaesken, could you take a look? Change is tiny. Thanks!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18698#issuecomment-2047932240
More information about the hotspot-compiler-dev
mailing list