Searched refs:cmpxchg (Results 1 - 25 of 45) sorted by relevance

12

/openjdk7/hotspot/src/share/vm/runtime/
H A Datomic.cpp70 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 Datomic.hpp85 // 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 DinterfaceSupport.cpp54 while (Atomic::cmpxchg(1, &RuntimeHistogram_lock, 0) != 0) {
H A Dsweeper.cpp239 jint old = Atomic::cmpxchg( 1, &_sweep_started, 0 );
485 jint old = Atomic::cmpxchg( 1, &_advise_to_sweep, 0 );
H A Dos.hpp863 State result = (State) Atomic::cmpxchg((jint) to, (jint *) &_state, (jint) from);
/openjdk7/hotspot/src/share/vm/utilities/
H A DaccessFlags.cpp48 f = Atomic::cmpxchg(new_flags, &_flags, old_flags);
58 f = Atomic::cmpxchg(new_flags, &_flags, old_flags);
H A Dworkgroup.cpp454 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 Dtaskqueue.hpp164 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 Datomic_bsd_x86.inline.hpp94 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 Datomic_linux_x86.inline.hpp94 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 Datomic_windows_x86.inline.hpp124 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 DthreadCritical_windows.cpp68 while (Atomic::cmpxchg(0, &lock_count, -1) != -1) {
/openjdk7/hotspot/src/os_cpu/solaris_sparc/vm/
H A Datomic_solaris_sparc.inline.hpp193 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 Datomic_linux_sparc.inline.hpp153 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 Dg1HotCardCache.cpp108 Atomic::cmpxchg(end_idx, &_hot_cache_par_claimed_idx, start_idx)) {
H A DheapRegionRemSet.hpp275 } while (Atomic::cmpxchg((jlong)next, &_iter_claimed, (jlong)current) != (jlong)current);
/openjdk7/hotspot/src/os_cpu/solaris_x86/vm/
H A Datomic_solaris_x86.inline.hpp87 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 Datomic_bsd_zero.inline.hpp265 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 Datomic_linux_zero.inline.hpp259 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 DcardTableRS.cpp126 Atomic::cmpxchg(CardTableRS::clean_card_val(), entry, entry_val);
254 jbyte res = Atomic::cmpxchg(new_val, entry, entry_val);
H A DcardTableModRefBS.cpp428 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 DpsCompactionManager.cpp133 last = Atomic::cmpxchg(next, &_recycled_bottom, cur);
/openjdk7/hotspot/src/share/vm/compiler/
H A DcompileBroker.hpp393 jint old = Atomic::cmpxchg(new_state, &_should_compile_new_jobs, 1-new_state);
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkBuilder.cpp374 return Atomic::cmpxchg(newval, ptr, oldval);
/openjdk7/hotspot/src/share/vm/services/
H A DmemTracker.cpp170 if ((jint)NMT_started == Atomic::cmpxchg((jint)NMT_shutdown_pending,

Completed in 323 milliseconds

12