Dedicate API should be provided for object loading in c2 optimization stage

XMLWordPrintable

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

      This is a follow-up of JDK-8260473.

      ArrayCopyNode expansion and Vector unbox expansion use the similar logic to create a barrier resolved LoadNode.
      It would be better to provide an API for reducing the code redundancy and simplifying the usage of LoadNode creation during c2 optimization stage, just like 'GraphKit::access_load_at'.

            Assignee:
            Unassigned
            Reporter:
            Jie Fu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: