hotspot/src/share/vm/runtime/mutex.hpp
Print this page
*** 59,80 ****
volatile void * Address ;
volatile jbyte Bytes [sizeof(intptr_t)] ;
} ;
// Endian-ness ... index of least-significant byte in SplitWord.Bytes[]
! #ifdef AMD64 // little
#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
--- 59,72 ----
volatile void * Address ;
volatile jbyte Bytes [sizeof(intptr_t)] ;
} ;
// Endian-ness ... index of least-significant byte in SplitWord.Bytes[]
! #ifdef VM_LITTLE_ENDIAN
#define _LSBINDEX 0
#else
#define _LSBINDEX (sizeof(intptr_t)-1)
#endif
class ParkEvent ;
// See orderAccess.hpp. We assume throughout the VM that mutex lock and