/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | atomic.cpp | 70 jbyte Atomic::cmpxchg(jbyte exchange_value, volatile jbyte* dest, jbyte compare_value) { argument 80 while (cur_as_bytes[offset] == compare_value) { 96 volatile unsigned int* dest, unsigned int compare_value) { 99 (jint)compare_value); 95 cmpxchg(unsigned int exchange_value, volatile unsigned int* dest, unsigned int compare_value) argument
|
/openjdk7/hotspot/src/os_cpu/bsd_x86/vm/ |
H A D | atomic_bsd_x86.inline.hpp | 94 inline jint Atomic::cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value) { argument 98 : "r" (exchange_value), "a" (compare_value), "r" (dest), "r" (mp) 145 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { argument 149 : "r" (exchange_value), "a" (compare_value), "r" (dest), "r" (mp) 154 inline intptr_t Atomic::cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) { argument 155 return (intptr_t)cmpxchg((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value); 158 inline void* Atomic::cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) { argument 159 return (void*)cmpxchg((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value); 193 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { argument 194 return _Atomic_cmpxchg_long(exchange_value, dest, compare_value, o 197 cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) argument 201 cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) argument [all...] |
/openjdk7/hotspot/src/os_cpu/linux_sparc/vm/ |
H A D | atomic_linux_sparc.inline.hpp | 153 inline jint Atomic::cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value) { argument 158 : "0" (exchange_value), "r" (dest), "r" (compare_value) 163 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { argument 169 : "0" (exchange_value), "r" (dest), "r" (compare_value) 176 cvl.long_value = compare_value; 196 inline intptr_t Atomic::cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) { argument 202 : "0" (exchange_value), "r" (dest), "r" (compare_value) 208 : "0" (exchange_value), "r" (dest), "r" (compare_value) 214 inline void* Atomic::cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) { argument 215 return (void*)cmpxchg_ptr((intptr_t)exchange_value, (volatile intptr_t*)dest, (intptr_t)compare_value); [all...] |
/openjdk7/hotspot/src/os_cpu/linux_x86/vm/ |
H A D | atomic_linux_x86.inline.hpp | 94 inline jint Atomic::cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value) { argument 98 : "r" (exchange_value), "a" (compare_value), "r" (dest), "r" (mp) 145 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { argument 149 : "r" (exchange_value), "a" (compare_value), "r" (dest), "r" (mp) 154 inline intptr_t Atomic::cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) { argument 155 return (intptr_t)cmpxchg((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value); 158 inline void* Atomic::cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) { argument 159 return (void*)cmpxchg((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value); 193 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { argument 194 return _Atomic_cmpxchg_long(exchange_value, dest, compare_value, o 197 cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) argument 201 cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) argument [all...] |
/openjdk7/hotspot/src/os_cpu/solaris_sparc/vm/ |
H A D | atomic_solaris_sparc.inline.hpp | 193 inline jint Atomic::cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value) { argument 198 : "0" (exchange_value), "r" (dest), "r" (compare_value) 203 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { argument 209 : "0" (exchange_value), "r" (dest), "r" (compare_value) 216 cvl.long_value = compare_value; 236 inline intptr_t Atomic::cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) { argument 242 : "0" (exchange_value), "r" (dest), "r" (compare_value) 248 : "0" (exchange_value), "r" (dest), "r" (compare_value) 254 inline void* Atomic::cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) { argument 255 return (void*)cmpxchg_ptr((intptr_t)exchange_value, (volatile intptr_t*)dest, (intptr_t)compare_value); 313 cmpxchg(jint exchange_value, volatile jint* dest, jint compare_value) argument 317 cmpxchg(jlong exchange_value, volatile jlong* dest, jlong compare_value) argument 328 cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) argument 336 cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) argument 372 cmpxchg(jint exchange_value, volatile jint* dest, jint compare_value) argument 376 cmpxchg(jlong exchange_value, volatile jlong* dest, jlong compare_value) argument 380 cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) argument 384 cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) argument [all...] |
H A D | os_solaris_sparc.cpp | 745 jint os::atomic_cmpxchg_bootstrap(jint exchange_value, volatile jint* dest, jint compare_value) { argument 751 return (*func)(exchange_value, dest, compare_value); 756 if (old_value == compare_value) 761 jlong os::atomic_cmpxchg_long_bootstrap(jlong exchange_value, volatile jlong* dest, jlong compare_value) { argument 767 return (*func)(exchange_value, dest, compare_value); 772 if (old_value == compare_value)
|
/openjdk7/hotspot/src/os_cpu/bsd_zero/vm/ |
H A D | atomic_bsd_zero.inline.hpp | 267 jint compare_value) { 269 return arm_compare_and_swap(dest, compare_value, exchange_value); 272 return m68k_compare_and_swap(dest, compare_value, exchange_value); 274 return __sync_val_compare_and_swap(dest, compare_value, exchange_value); 281 jlong compare_value) { 283 return __sync_val_compare_and_swap(dest, compare_value, exchange_value); 288 intptr_t compare_value) { 290 return arm_compare_and_swap(dest, compare_value, exchange_value); 293 return m68k_compare_and_swap(dest, compare_value, exchange_value); 295 return __sync_val_compare_and_swap(dest, compare_value, exchange_valu 265 cmpxchg(jint exchange_value, volatile jint* dest, jint compare_value) argument 279 cmpxchg(jlong exchange_value, volatile jlong* dest, jlong compare_value) argument 286 cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) argument 300 cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) argument [all...] |
/openjdk7/hotspot/src/os_cpu/linux_zero/vm/ |
H A D | atomic_linux_zero.inline.hpp | 261 jint compare_value) { 263 return arm_compare_and_swap(dest, compare_value, exchange_value); 266 return m68k_compare_and_swap(dest, compare_value, exchange_value); 268 return __sync_val_compare_and_swap(dest, compare_value, exchange_value); 275 jlong compare_value) { 277 return __sync_val_compare_and_swap(dest, compare_value, exchange_value); 282 intptr_t compare_value) { 284 return arm_compare_and_swap(dest, compare_value, exchange_value); 287 return m68k_compare_and_swap(dest, compare_value, exchange_value); 289 return __sync_val_compare_and_swap(dest, compare_value, exchange_valu 259 cmpxchg(jint exchange_value, volatile jint* dest, jint compare_value) argument 273 cmpxchg(jlong exchange_value, volatile jlong* dest, jlong compare_value) argument 280 cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) argument 294 cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) argument [all...] |
/openjdk7/hotspot/src/os_cpu/solaris_x86/vm/ |
H A D | atomic_solaris_x86.inline.hpp | 74 jint compare_value IS_MP_DECL()); 76 jlong compare_value IS_MP_DECL()); 87 inline jint Atomic::cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value) { argument 88 return _Atomic_cmpxchg(exchange_value, dest, compare_value IS_MP_ARG()); 91 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { argument 92 return _Atomic_cmpxchg_long(exchange_value, dest, compare_value IS_MP_ARG()); 118 inline intptr_t Atomic::cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) { argument 119 return (intptr_t)_Atomic_cmpxchg_long((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value); 122 inline void* Atomic::cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) { argument 123 return (void*)_Atomic_cmpxchg_long((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value); 146 cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) argument 150 cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) argument 214 _Atomic_cmpxchg(jint exchange_value, volatile jint* dest, jint compare_value, int mp) argument 225 _Atomic_cmpxchg_long(jlong exchange_value, volatile jlong* dest, jlong compare_value, int mp) argument [all...] |
H A D | os_solaris_x86.cpp | 883 jint os::atomic_cmpxchg_bootstrap(jint exchange_value, volatile jint* dest, jint compare_value) { argument 889 return (*func)(exchange_value, dest, compare_value); 894 if (old_value == compare_value) 899 jlong os::atomic_cmpxchg_long_bootstrap(jlong exchange_value, volatile jlong* dest, jlong compare_value) { argument 905 return (*func)(exchange_value, dest, compare_value); 910 if (old_value == compare_value)
|
/openjdk7/hotspot/src/os_cpu/windows_x86/vm/ |
H A D | atomic_windows_x86.inline.hpp | 124 inline jint Atomic::cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value) { argument 125 return (*os::atomic_cmpxchg_func)(exchange_value, dest, compare_value); 128 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { argument 129 return (*os::atomic_cmpxchg_long_func)(exchange_value, dest, compare_value); 132 inline intptr_t Atomic::cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) { argument 133 return (intptr_t)cmpxchg((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value); 136 inline void* Atomic::cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) { argument 137 return (void*)cmpxchg((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value); 217 inline jint Atomic::cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value) { argument 223 mov eax, compare_value 229 cmpxchg(jlong exchange_value, volatile jlong* dest, jlong compare_value) argument 250 cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) argument 254 cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) argument [all...] |
H A D | os_windows_x86.cpp | 262 jint os::atomic_cmpxchg_bootstrap(jint exchange_value, volatile jint* dest, jint compare_value) { argument 268 return (*func)(exchange_value, dest, compare_value); 273 if (old_value == compare_value) 279 jlong os::atomic_cmpxchg_long_bootstrap(jlong exchange_value, volatile jlong* dest, jlong compare_value) { argument 285 return (*func)(exchange_value, dest, compare_value); 290 if (old_value == compare_value)
|
/openjdk7/hotspot/src/share/vm/shark/ |
H A D | sharkBuilder.cpp | 446 Value* compare_value) { 447 return CreateCall3(cmpxchg_int(), dst, compare_value, exchange_value); 452 Value* compare_value) { 453 return CreateCall3(cmpxchg_ptr(), dst, compare_value, exchange_value); 444 CreateCmpxchgInt(Value* exchange_value, Value* dst, Value* compare_value) argument 450 CreateCmpxchgPtr(Value* exchange_value, Value* dst, Value* compare_value) argument
|
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | oop.inline.hpp | 323 oop compare_value) { 327 narrowOop cmp = encode_heap_oop(compare_value); 333 return (oop)Atomic::cmpxchg_ptr(exchange_value, (oop*)dest, compare_value); 321 atomic_compare_exchange_oop(oop exchange_value, volatile HeapWord *dest, oop compare_value) argument
|