RISC-V: Improve tail handling of array fill stub

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: 25
    • Component/s: hotspot
    • None
    • b23
    • riscv
    • Verified

      The tail handling after bulk copy in array fill stub may trigger misaligned memory accesses.
      The address is 8-byte aligned after bulk copy and the tail handling copies BYTE, SHORT, and
      INT granules in order. This could trigger misaligned accesses. We should copy the remainings
      in this order: INT, SHORT, and BYTE to avoid such an issue.

            Assignee:
            Anjian Wen
            Reporter:
            Anjian Wen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: