RFR(XS): 8239856: [ntintel] asserts about copying unaligned array element

Thomas Stüfe thomas.stuefe at gmail.com
Mon Feb 24 11:52:24 UTC 2020


Hi Martin,

maybe use ATTRIBUTE_ALIGNED instead?

Cheers, Thomas

On Mon, Feb 24, 2020 at 12:44 PM Doerr, Martin <martin.doerr at sap.com> wrote:

> Hi,
>
>
>
> we had fixed stack array alignment for Windows 32 bit with JDK-8220348.
>
> However, there are also stack allocated jlong and jdouble used as source
> for SetLongArrayRegion and SetDoubleArrayRegion with insufficient
> alignment for this platform.
>
>
>
> Here’s my proposed fix:
>
>
> http://cr.openjdk.java.net/~mdoerr/8239856_win32_long_double_align/webrev.00/
>
>
>
> Please review.
>
>
>
> Best regards,
>
> Martin
>
>
>


More information about the core-libs-dev mailing list