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

Erik Österlund eosterlund at openjdk.java.net
Thu Sep 30 15:55:39 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.

This pull request has now been integrated.

Changeset: f08180f3
Author:    Erik Österlund <eosterlund at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/f08180f35f18263e33d96b6d1f06e5129328f01a
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8274501: c2i entry barriers read int as long on AArch64

Reviewed-by: shade, kbarrett, aph

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

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


More information about the hotspot-dev mailing list