RFR: 8274501: c2i entry barriers read int as long on AArch64

Erik Österlund eosterlund at openjdk.java.net
Thu Sep 30 15:55:38 UTC 2021


On Wed, 29 Sep 2021 15:12:40 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

> There was a bug in the x86_64 implementation of the c2i entry barriers. We read the CLD::_keep_alive int as a 64 bit integer, while it is of course in fact a 32 bit integer. It was fixed in the patch that ported it to x86_32 (JDK-8235262). However, somewhere in-between I think the wrong code was used as a basis for the AArch64 implementation, which now seemingly has inherited that same bug.

Thanks everyone.

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

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


More information about the hotspot-dev mailing list