RFR 8151163 All Buffer implementations should leverage Unsafe unaligned accessors <was> Re: ByteBuffer views, alignment, word tearing
Andrew Haley
aph at redhat.com
Tue Jul 12 17:33:28 UTC 2016
Hi,
On 12/07/16 14:43, Paul Sandoz wrote:
> Would you mind formally reviewing the patches?
>
> Including hotspot-dev as i have updated a hotspot test so should
> probably push to hs.
>
> I rebased to hs and fixed a silly bug in generated heap view buffers
> that were incorrectly calculating the unsafe byte offset:
>
> http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8151163-buffer-unsafe-unaligned-access/webrev/ <http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8151163-buffer-unsafe-unaligned-access/webrev/>
>
> http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8151163-buffer-unsafe-unaligned-access-hotspot/webrev/ <http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8151163-buffer-unsafe-unaligned-access-hotspot/webrev/>
>
> JPRT runs for core and hotspot pass.
These are fine. I checked that the word-tearing problems were fixed
too, and the generated code looks good.
Thanks,
Andrew.
More information about the hotspot-dev
mailing list