RFR: 8274401: C2: GraphKit::load_array_element bypasses Access API

Goetz Lindenmaier goetz at openjdk.java.net
Wed Sep 29 11:46:33 UTC 2021


On Mon, 27 Sep 2021 22:38:13 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> C2: GraphKit::load_array_element only creates nodes for loading a raw element from the given array. This is wrong when the element is an Oop which needs a load barrier for some GCs.

Marked as reviewed by goetz (Reviewer).

Thanks for the explanation.
LGTM

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

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


More information about the hotspot-compiler-dev mailing list