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

C2: remove slice parameter from LoadNode::make

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 24
    • 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

            Unassigned Unassigned
            tweidmann Theo Weidmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: