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

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


On Thu, 21 Oct 2021 20:10:17 GMT, Vladimir Kozlov <kvn 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).

Thanks for the reviews @vnkozlov and @tkrodriguez.

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

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


More information about the hotspot-compiler-dev mailing list