< prev index next >
src/cpu/aarch64/vm/bytes_aarch64.hpp
Print this page
@ rev 12742 : imported patch alpinefixes-copyswapaligned
|
@@ -28,16 +28,10 @@
#include "memory/allocation.hpp"
class Bytes: AllStatic {
public:
- // Returns true if the byte ordering used by Java is different from the native byte ordering
- // of the underlying machine. For example, this is true for Intel x86, but false for Solaris
- // on Sparc.
- static inline bool is_Java_byte_ordering_different(){ return true; }
-
-
// Efficient reading and writing of unaligned unsigned data in platform-specific byte ordering
// (no special code is needed since x86 CPUs can access unaligned data)
static inline u2 get_native_u2(address p) { return *(u2*)p; }
static inline u4 get_native_u4(address p) { return *(u4*)p; }
static inline u8 get_native_u8(address p) { return *(u8*)p; }
< prev index next >