C2: remove slice parameter from LoadNode::make

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 24
    • Component/s: hotspot

      JDK-8341411 removed the slice parameter from GraphKit::make_load() and GraphKit::store_to_memory().

      It might be possible to go even further and remove them from LoadNode::make and analogously in Store.

      Then in the GC API it might not be necessary to pass adr_type anymore in:

      C2AccessValuePtr addr(adr, adr_type);
       C2ParseAccess access(this, decorators | C2_READ_ACCESS, bt, obj, addr);

      See https://github.com/openjdk/jdk/pull/21834#pullrequestreview-2429164805 for the original comment pointing this out

            Assignee:
            Unassigned
            Reporter:
            Theo Weidmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: