RFR(m): java.nio.Bits.unaligned() doesn't return true on ppc

Hiroshi H Horii HORII at jp.ibm.com
Thu Sep 1 14:26:33 UTC 2016


Dear all:

Can I please request reviews for the following change?
This change was created for JDK 8.

Some open sources (such as Spark 2.0) check java.nio.Bits.unaligned() 
to recognize support of unaligned memory access in platform. 
Though ppc64 and ppc64le support it, unaligned() returns false. 

In JDK 9, this method returns unalignedAccess() of 
jdk.internal.misc.Unsafe
that doesn't exist in JDK8.

jira: https://bugs.openjdk.java.net/browse/JDK-8165231
webrev: http://cr.openjdk.java.net/~gromero/8165231/
(Due to my login issue to the cs.openjdk.java.net, Gustavo thankfully 
created this webrev.)

Regards,
Hiroshi
-----------------------
Hiroshi Horii, Ph.D.
IBM Research - Tokyo


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20160901/bddb518d/attachment.html>


More information about the ppc-aix-port-dev mailing list