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

Tom Rodriguez never at openjdk.java.net
Fri Oct 22 16:19:07 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 never (Reviewer).

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

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


More information about the hotspot-compiler-dev mailing list