java.nio.Bits.unaligned() doesn't return true on s390x
Seán Coffey
sean.coffey at oracle.com
Mon Feb 6 10:57:51 UTC 2017
Vaibhav,
you'll find details on how to submit OpenJDK contributions here[1].
You or a colleague who has access to the Java Bug System[2] can open a
bug. A patch can then be submitted to the JDK 8 Updates Project[3] for
review. It looks like JDK 9 is not affected. The Unsafe class was
updated to return better detection for that call via JDK-8026049.
[1] http://openjdk.java.net/contribute/
[2] https://bugs.openjdk.java.net
[3] http://openjdk.java.net/projects/jdk8u/
Regards,
Sean.
On 06/02/17 10:14, Vaibhav Vaingankar wrote:
>
> Hello,
>
> We are building HBase source code using OpenJDK 8 on s390x platform, we
> encountered some testcase failures related to bit unalignment.
> We discovered that java.nio.Bits.unaligned() doesn't return true on s390x.
> However similar issue had reported on ppc and was resolved by adding ppc
> support in ByteArrayAccess.java and ByteArrayAccess.java, following is the
> changeset link:
> http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/8d16f74380a7
>
> Referring to above changeset we added s390x support in both the classes.
> The resultant JDK could resolve the testcase failure.
>
> Let me know how to add s390x support to the OpenJDK 8 source. Any
> suggestion are appreciated.
>
> Thanks and regards.
> Vaibhav Vaingankar
More information about the jdk8u-dev
mailing list