RFR: 8274401: C2: GraphKit::load_array_element bypasses Access API
Goetz Lindenmaier
goetz at openjdk.java.net
Tue Sep 28 13:08:13 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.
Hi Martin,
did one of the jtreg tests fail? Maybe you could share which it was.
Maybe a @bug 8274401 in that test would be useful.
The change looks good to me.
Best regards,
Goetz.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5727
More information about the hotspot-compiler-dev
mailing list