RFR(m): java.nio.Bits.unaligned() doesn't return true on ppc
Doerr, Martin
martin.doerr at sap.com
Thu Sep 1 15:06:04 UTC 2016
Hi Hiroshi,
thanks for providing a fix.
The fix
8158260: PPC64: unaligned Unsafe.getInt can lead to the generation of illegal instructions
was downported to 8, so I think your change is good.
Best regards,
Martin
From: Hiroshi H Horii [mailto:HORII at jp.ibm.com]
Sent: Donnerstag, 1. September 2016 16:27
To: jdk8u-dev at openjdk.java.net; ppc-aix-port-dev at openjdk.java.net
Cc: Gustavo Bueno Romero <gromero at br.ibm.com>; Volker Simonis (volker.simonis at gmail.com) <volker.simonis at gmail.com>; Doerr, Martin <martin.doerr at sap.com>
Subject: RFR(m): java.nio.Bits.unaligned() doesn't return true on ppc
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/c1789f46/attachment.html>
More information about the ppc-aix-port-dev
mailing list