RFR JDK-8141491: Unaligned memory access in Bits.c
Paul Sandoz
paul.sandoz at oracle.com
Thu Nov 26 09:03:11 UTC 2015
Hi Sasha,
Bits.c
—
Some minor typos.
55 /* The destination buffer passed to Java_java_nio_Bits_copyFromShor<type>tArray
s/copyFromShor<type>tArray/copyFrom<type>Array
58 * 'unaligned' attribute, provided it supports this attribute. Fro recent
s/Fro/For
Paul.
> On 25 Nov 2015, at 20:19, Alexander Smundak <asmundak at google.com> wrote:
>
> Please take a look at
> http://cr.openjdk.java.net/~asmundak/8141491/jdk/webrev.00
> that fixes the problem.
>
> It utilizes the ability of some (GCC and Clang) to declare data
> alignment explicitly.
> I have verified it works on x86_64 Linux by running
> jdk/test/java/nio/Buffer/Basic.java test
>
> I need a sponsor.
>
> Sasha
More information about the hotspot-dev
mailing list