Integrated: 8290780: AArch64: Crash in c2 nmethod running RunThese30M.java

Andrew Haley aph at openjdk.org
Mon Jul 25 12:43:20 UTC 2022


On Fri, 22 Jul 2022 13:50:28 GMT, Andrew Haley <aph at openjdk.org> wrote:

> Fix that masks the offsets used when adrp() is passed an unreachable destination. This reloc allows e.g. `adrp; movk; ldr` to access anywhere in the address space.
> 
> 
> #  SIGSEGV (0xb) at pc=0x0000ffff55964edc, pid=2843096, tid=2850366
> #
> # JRE version: Java(TM) SE Runtime Environment (20.0+7) (fastdebug build 20-ea+7-377)
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 20-ea+7-377, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
> # Problematic frame:
> # J 91101 c2 java.io.ObjectOutputStream.enableReplaceObject(Z)Z java.base at 20-ea (47 bytes) @ 0x0000ffff55964edc [0x0000ffff55964e80+0x000000000000005c]

This pull request has now been integrated.

Changeset: 1e270ea4
Author:    Andrew Haley <aph at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1e270ea4f5e8f9539e85430b9be5cf21a89b4d8f
Stats:     28 lines in 2 files changed: 4 ins; 20 del; 4 mod

8290780: AArch64: Crash in c2 nmethod running RunThese30M.java

Reviewed-by: dlong

-------------

PR: https://git.openjdk.org/jdk/pull/9615


More information about the hotspot-dev mailing list