Unsafe.{get,put}-X-Unaligned performance (original) (raw)
Andrew Haley aph at redhat.com
Wed Mar 11 17:39:36 UTC 2015
- Previous message: Unsafe.{get,put}-X-Unaligned performance
- Next message: Unsafe.{get,put}-X-Unaligned performance
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 03/11/2015 05:38 PM, Vitaly Davidovich wrote:
private static final ByteOrder byteOrder 571 = unsafe.isBigEndian() ? ByteOrder.BIGENDIAN : ByteOrder.LITTLEENDIAN; 572 573 static ByteOrder byteOrder() { 574 if (byteOrder == null) 575 throw new Error("Unknown byte order"); 576 return byteOrder; 577 } 578
No need for null check in byteOrder() anymore, right?
OK, thx.
Andrew.
- Previous message: Unsafe.{get,put}-X-Unaligned performance
- Next message: Unsafe.{get,put}-X-Unaligned performance
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the hotspot-compiler-dev mailing list