Integrated: 8275645: [JVMCI] avoid unaligned volatile reads on AArch64

Doug Simon dnsimon at openjdk.java.net
Fri Oct 22 16:24:08 UTC 2021


On Wed, 20 Oct 2021 14:23:19 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> This PR updates c2v_readFieldValue to always do the field read with volatile semantics but without using a volatile read instruction directly to avoid platform specific issues with unaligned reads (e.g., an unaligned ldar on AArch64 causes a SIGBUS).

This pull request has now been integrated.

Changeset: 4dec8fc4
Author:    Doug Simon <dnsimon at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/4dec8fc4cc2b1762fba554d0401da8be0d6d1166
Stats:     63 lines in 6 files changed: 41 ins; 1 del; 21 mod

8275645: [JVMCI] avoid unaligned volatile reads on AArch64

Reviewed-by: kvn, never

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

PR: https://git.openjdk.java.net/jdk/pull/6044


More information about the hotspot-compiler-dev mailing list