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

Avoid unaligned access in emit_intX methods if it's unsupported

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 20, 21
    • 21
    • hotspot
    • b20
    • generic
    • generic

    Description

      emit_int16/32/64 use direct memory access in shared code, this may result in unaligned memory stores on platforms where unaligned memory access is disabled by default:
      risc-v, arm32
      lets use put_native in emit_intXX methods, this will affect next platforms as well:
      ppc and x86
      we will use properly aligned memory stores in put_native_XX methods only if it is required by global variables.

      Attachments

        Issue Links

          Activity

            People

              vkempik Vladimir Kempik
              vkempik Vladimir Kempik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: