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

[ntintel] asserts about copying unaligned array element

    Details

    • Subcomponent:
    • Introduced In Version:
      11
    • Resolved In Build:
      b14
    • CPU:
      x86
    • OS:
      windows

      Backports

        Description

        # assert(is_aligned(from, alignment)) failed: must be aligned: ...
        was still observed after JDK-8220348.

        src/jdk.jdwp.agent/share/native/libjdwp/ArrayReferenceImpl.c uses stack allocated jlong and jdouble as source for SetLongArrayRegion and SetDoubleArrayRegion. Windows 32 bit only uses 4 Byte alignment by default which is not sufficient.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mdoerr Martin Doerr
                  Reporter:
                  mdoerr Martin Doerr
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: