RFR(XS): 8239856: [ntintel] asserts about copying unaligned array element
martin.doerr at sap.com
Mon Feb 24 11:56:48 UTC 2020
thanks for the quick review.
ATTRIBUTE_ALIGNED is defined in hotspot. I can’t use it for src/jdk.jdwp.agent/share/native/libjdwp/ArrayReferenceImpl.c.
Christoph had already suggested to make it available for core libs, too, but I haven’t found a good place for it.
From: Thomas Stüfe <thomas.stuefe at gmail.com>
Sent: Montag, 24. Februar 2020 12:52
To: Doerr, Martin <martin.doerr at sap.com>
Cc: core-libs-dev at openjdk.java.net; Lindenmaier, Goetz <goetz.lindenmaier at sap.com>; Langer, Christoph <christoph.langer at sap.com>
Subject: Re: RFR(XS): 8239856: [ntintel] asserts about copying unaligned array element
maybe use ATTRIBUTE_ALIGNED instead?
On Mon, Feb 24, 2020 at 12:44 PM Doerr, Martin <martin.doerr at sap.com<mailto:martin.doerr at sap.com>> wrote:
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:
More information about the core-libs-dev