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

Vladimir Kozlov kvn at openjdk.java.net
Thu Oct 21 20:13:06 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).

Marked as reviewed by kvn (Reviewer).

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

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


More information about the hotspot-compiler-dev mailing list