[aarch64-port-dev ] [OpenJDK8u] java.nio.Bits.unaligned() doesn't handle aarch64

Andrew Haley aph at redhat.com
Thu May 11 19:40:39 UTC 2017


On 11/05/17 18:20, White, Derek wrote:

> In mainline jdk8u, this was updated to include PPC as well (See
> https://bugs.openjdk.java.net/browse/JDK-8165231). JDK9 has a much
> better fix that supports aarch64 already.
> 
> Tested on Spark and off-heap memory was being used. Note: The PPC
> fix also patched sun/security/provider/ByteArrayAccess.java, but I
> didn't include this in the patch below (not sure if it matters, or
> how to test it).

It's not a great idea to introduce a patch that will conflict with a
patch we haven't yet merged.  We will get all the patches from jdk8u
eventually, but we only merge from security updates and peroper
releases.  I think we should add aarch64 support now, given that
upstream jdk8u will never support it.

Andrew.



More information about the aarch64-port-dev mailing list