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

Vladimir Kozlov kvn at openjdk.java.net
Mon Sep 27 23:00:54 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.

Changes seems fine.
Do you have a test case which shows the issue?

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

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


More information about the hotspot-compiler-dev mailing list