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

Martin Doerr mdoerr at openjdk.java.net
Mon Sep 27 22:52:24 UTC 2021


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.

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

Commit messages:
 - 8274401: C2: GraphKit::load_array_element bypasses Access API

Changes: https://git.openjdk.java.net/jdk/pull/5727/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5727&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274401
  Stats: 7 lines in 4 files changed: 1 ins; 0 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5727.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5727/head:pull/5727

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


More information about the hotspot-compiler-dev mailing list