Mercurial > hg > truffle
comparison src/share/vm/runtime/mutex.hpp @ 1010:354d3184f6b2
6890308: integrate zero assembler hotspot changes
Reviewed-by: never
Contributed-by: gbenson@redhat.com
author | never |
---|---|
date | Tue, 13 Oct 2009 12:04:21 -0700 |
parents | 98cb887364d3 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1009:03b336640699 | 1010:354d3184f6b2 |
---|---|
59 volatile void * Address ; | 59 volatile void * Address ; |
60 volatile jbyte Bytes [sizeof(intptr_t)] ; | 60 volatile jbyte Bytes [sizeof(intptr_t)] ; |
61 } ; | 61 } ; |
62 | 62 |
63 // Endian-ness ... index of least-significant byte in SplitWord.Bytes[] | 63 // Endian-ness ... index of least-significant byte in SplitWord.Bytes[] |
64 #ifdef AMD64 // little | 64 #ifdef VM_LITTLE_ENDIAN |
65 #define _LSBINDEX 0 | 65 #define _LSBINDEX 0 |
66 #else | 66 #else |
67 #if IA32 // little | |
68 #define _LSBINDEX 0 | |
69 #else | |
70 #ifdef SPARC // big | |
71 #define _LSBINDEX (sizeof(intptr_t)-1) | 67 #define _LSBINDEX (sizeof(intptr_t)-1) |
72 #else | |
73 #error "unknown architecture" | |
74 #endif | |
75 #endif | |
76 #endif | 68 #endif |
77 | 69 |
78 class ParkEvent ; | 70 class ParkEvent ; |
79 | 71 |
80 // See orderAccess.hpp. We assume throughout the VM that mutex lock and | 72 // See orderAccess.hpp. We assume throughout the VM that mutex lock and |