/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | atomic.cpp | 70 jbyte Atomic::cmpxchg(jbyte exchange_value, volatile jbyte* dest, jbyte compare_value) { function in class:Atomic 81 jint res = cmpxchg(new_val, dest_int, cur); 95 unsigned Atomic::cmpxchg(unsigned int exchange_value, function in class:Atomic 98 return (unsigned int)Atomic::cmpxchg((jint)exchange_value, (volatile jint*)dest, 105 while (old != cmpxchg(new_value, dest, old)) {
|
H A D | atomic.hpp | 85 // barrier across the cmpxchg. I.e., it's really a 'fence_cmpxchg_acquire'. 86 static jbyte cmpxchg (jbyte exchange_value, volatile jbyte* dest, jbyte compare_value); 87 static jint cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value); 89 static jlong cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value); 91 static unsigned int cmpxchg(unsigned int exchange_value,
|
H A D | interfaceSupport.cpp | 54 while (Atomic::cmpxchg(1, &RuntimeHistogram_lock, 0) != 0) {
|
H A D | sweeper.cpp | 239 jint old = Atomic::cmpxchg( 1, &_sweep_started, 0 ); 485 jint old = Atomic::cmpxchg( 1, &_advise_to_sweep, 0 );
|
H A D | os.hpp | 863 State result = (State) Atomic::cmpxchg((jint) to, (jint *) &_state, (jint) from);
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | accessFlags.cpp | 48 f = Atomic::cmpxchg(new_flags, &_flags, old_flags); 58 f = Atomic::cmpxchg(new_flags, &_flags, old_flags);
|
H A D | workgroup.cpp | 454 old = Atomic::cmpxchg(1, &_tasks[t], 0); 472 observed = Atomic::cmpxchg(old+1, &_threads_completed, old); 498 jint res = Atomic::cmpxchg(t+1, n_claimed_ptr, t); 511 uint res = Atomic::cmpxchg(complete+1, n_completed_ptr, complete);
|
H A D | taskqueue.hpp | 164 Age cmpxchg(const Age new_age, const Age old_age) volatile { function in class:TaskQueueSuper::Age 375 Age tempAge = _age.cmpxchg(newAge, oldAge); 403 Age resAge = _age.cmpxchg(newAge, oldAge);
|
/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) { function in class:Atomic 145 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { function in class:Atomic 155 return (intptr_t)cmpxchg((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value); 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) { function in class:Atomic 198 return (intptr_t)cmpxchg((jint)exchange_value, (volatile jint*)dest, (jint)compare_value); 202 return (void*)cmpxchg((jint)exchange_value, (volatile jint*)dest, (jint)compare_value);
|
/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) { function in class:Atomic 145 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { function in class:Atomic 155 return (intptr_t)cmpxchg((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value); 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) { function in class:Atomic 198 return (intptr_t)cmpxchg((jint)exchange_value, (volatile jint*)dest, (jint)compare_value); 202 return (void*)cmpxchg((jint)exchange_value, (volatile jint*)dest, (jint)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) { function in class:Atomic 128 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { function in class:Atomic 133 return (intptr_t)cmpxchg((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value); 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) { function in class:Atomic 225 cmpxchg dword ptr [edx], ecx 229 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { function in class:Atomic 251 return (intptr_t)cmpxchg((jint)exchange_value, (volatile jint*)dest, (jint)compare_value); 255 return (void*)cmpxchg((jint)exchange_value, (volatile jint*)dest, (jint)compare_value);
|
/openjdk7/hotspot/src/os/windows/vm/ |
H A D | threadCritical_windows.cpp | 68 while (Atomic::cmpxchg(0, &lock_count, -1) != -1) {
|
/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) { function in class:Atomic 203 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { function in class:Atomic 313 inline jint Atomic::cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value) { function in class:Atomic 317 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { function in class:Atomic 372 inline jint Atomic::cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value) { function in class:Atomic 376 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { function in class:Atomic 381 return (intptr_t)cmpxchg((jint)exchange_value, (volatile jint*)dest, (jint)compare_value); 385 return (void*)cmpxchg((jint)exchange_value, (volatile jint*)dest, (jint)compare_value);
|
/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) { function in class:Atomic 163 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { function in class:Atomic
|
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | g1HotCardCache.cpp | 108 Atomic::cmpxchg(end_idx, &_hot_cache_par_claimed_idx, start_idx)) {
|
H A D | heapRegionRemSet.hpp | 275 } while (Atomic::cmpxchg((jlong)next, &_iter_claimed, (jlong)current) != (jlong)current);
|
/openjdk7/hotspot/src/os_cpu/solaris_x86/vm/ |
H A D | atomic_solaris_x86.inline.hpp | 87 inline jint Atomic::cmpxchg (jint exchange_value, volatile jint* dest, jint compare_value) { function in class:Atomic 91 inline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) { function in class:Atomic 147 return (intptr_t)cmpxchg((jint)exchange_value, (volatile jint*)dest, (jint)compare_value); 151 return (void*)cmpxchg((jint)exchange_value, (volatile jint*)dest, (jint)compare_value);
|
/openjdk7/hotspot/src/os_cpu/bsd_zero/vm/ |
H A D | atomic_bsd_zero.inline.hpp | 265 inline jint Atomic::cmpxchg(jint exchange_value, function in class:Atomic 279 inline jlong Atomic::cmpxchg(jlong exchange_value, function in class:Atomic
|
/openjdk7/hotspot/src/os_cpu/linux_zero/vm/ |
H A D | atomic_linux_zero.inline.hpp | 259 inline jint Atomic::cmpxchg(jint exchange_value, function in class:Atomic 273 inline jlong Atomic::cmpxchg(jlong exchange_value, function in class:Atomic
|
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | cardTableRS.cpp | 126 Atomic::cmpxchg(CardTableRS::clean_card_val(), entry, entry_val); 254 jbyte res = Atomic::cmpxchg(new_val, entry, entry_val);
|
H A D | cardTableModRefBS.cpp | 428 jbyte res = Atomic::cmpxchg(new_val, &_byte_map[card_index], val); 453 Atomic::cmpxchg(new_val, &_byte_map[card_index], val);
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | psCompactionManager.cpp | 133 last = Atomic::cmpxchg(next, &_recycled_bottom, cur);
|
/openjdk7/hotspot/src/share/vm/compiler/ |
H A D | compileBroker.hpp | 393 jint old = Atomic::cmpxchg(new_state, &_should_compile_new_jobs, 1-new_state);
|
/openjdk7/hotspot/src/share/vm/shark/ |
H A D | sharkBuilder.cpp | 374 return Atomic::cmpxchg(newval, ptr, oldval);
|
/openjdk7/hotspot/src/share/vm/services/ |
H A D | memTracker.cpp | 170 if ((jint)NMT_started == Atomic::cmpxchg((jint)NMT_shutdown_pending,
|