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

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

XMLWordPrintable

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

            epeter Emanuel Peter
            epeter Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: