hotspot/src/share/vm/runtime/mutex.hpp
Print this page
@@ -59,22 +59,14 @@
volatile void * Address ;
volatile jbyte Bytes [sizeof(intptr_t)] ;
} ;
// Endian-ness ... index of least-significant byte in SplitWord.Bytes[]
-#ifdef AMD64 // little
+#ifdef VM_LITTLE_ENDIAN
#define _LSBINDEX 0
#else
-#if IA32 // little
- #define _LSBINDEX 0
-#else
-#ifdef SPARC // big
#define _LSBINDEX (sizeof(intptr_t)-1)
-#else
- #error "unknown architecture"
-#endif
-#endif
#endif
class ParkEvent ;
// See orderAccess.hpp. We assume throughout the VM that mutex lock and