[aarch64-port-dev ] [OpenJDK8u] java.nio.Bits.unaligned() doesn't handle aarch64
Andrew Hughes
gnu.andrew at redhat.com
Fri May 12 03:50:37 UTC 2017
----- Original Message -----
> 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.
> >
This was actually written by Andrew Haley, I believe.
> > 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.
>
The 8u one is https://bugs.openjdk.java.net/browse/JDK-8165231
It is one of a number I requested be added to Oracle's CPU releases,
given there doesn't seem to be a feature release (currently referred to
as 8u152) coming any time. This can be done by adding the
8u-CPU-critical-request tag. See
https://bugs.openjdk.java.net/browse/JDK-8165231?jql=labels%20%3D%208u-CPU-critical-request
It seems that some have now been accepted and some rejected, though
with no explanation as to the reasoning behind either. Fortunately,
8165231 is one of the ones that has been approved and so will be in
8u141, which is released in July.
https://bugs.openjdk.java.net/browse/JDK-8179839
> Andrew.
>
>
--
Andrew :)
Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Web Site: http://fuseyism.com
Twitter: https://twitter.com/gnu_andrew_java
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222
More information about the aarch64-port-dev
mailing list