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

RISC-V: Improve tail handling of array fill stub

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • hotspot
    • None
    • b23
    • riscv

      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.

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

              Created:
              Updated:
              Resolved: