C2 MergeStores: allow merging of putChar and other larger stores on smaller array elements

XMLWordPrintable

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

      Currently, MergeStores is limited to stores of the same size as the array elements.

      But this means putChar of 2-bytes are not permitted to be merged for byte arrays.

      Also see:
      https://github.com/openjdk/jdk/pull/19626#issuecomment-2189509983

            Assignee:
            Emanuel Peter
            Reporter:
            Emanuel Peter
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: