Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8274401

C2: GraphKit::load_array_element bypasses Access API

XMLWordPrintable

    • b18

        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.

        There's currently only one usage of load_array_element for an Oop element in code which is only used by PPC64 and s390. These platforms currently don't support GCs with load barriers. So, this issue needs to get fixed in order to support these GCs.

        It will also need to get fixed for possible future usages with Oop elements.


              mdoerr Martin Doerr
              mdoerr Martin Doerr
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: