Unsafe.{get,put}-X-Unaligned; Efficient array comparison intrinsics

Paul Sandoz paul.sandoz at oracle.com
Mon Mar 9 15:10:13 UTC 2015

On Mar 6, 2015, at 7:50 PM, Andrew Haley <aph at redhat.com> wrote:

> I've tried to so everything I've been asked.  If this version passes
> muster with everyone I'll Javadoc all the public methods and fields
> and put it up for RFA next week.

Do you want to tackle the single-address access methods as a follow up issue? If so that's fine.

> I guess it's going to need a lot of testing and security analysis.

Not sure about the latter, but the former yes, i can help with that and sponsor if you like.

> I added versions of all {put,get} methods with the boolean bigEndian
> argument.  This makes HeapByteBuffer much cleaner, and it does not
> need to know the machine endianness at all.  I hope that's OK.

Yes, i like the end result in HeapByteBuffer.


> Andrew.
> http://cr.openjdk.java.net/~aph/unaligned.hotspot.4/
> http://cr.openjdk.java.net/~aph/unaligned.jdk.4/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20150309/be6252bb/signature.asc>

More information about the hotspot-compiler-dev mailing list