C2 MergeLoads: merge adjacent array/native memory loads into larger load

XMLWordPrintable

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

      This is the corresponding optimization to JDK-8318446.

      We would be converting:

      byte[] a = ...;
      int = a[0] + (a[1] << 8) + (a[1] << 16) + (a[1] << 24);

      into a single integer load.

            Assignee:
            Kuai Wei
            Reporter:
            Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: