< prev index next >

src/hotspot/share/gc/parallel/psParallelCompact.hpp

Print this page
rev 47400 : [mq]: cmpxchg_ptr

*** 584,594 **** inline void ParallelCompactData::RegionData::set_highest_ref(HeapWord* addr) { #ifdef ASSERT HeapWord* tmp = _highest_ref; while (addr > tmp) { ! tmp = (HeapWord*)Atomic::cmpxchg_ptr(addr, &_highest_ref, tmp); } #endif // #ifdef ASSERT } inline bool ParallelCompactData::RegionData::claim() --- 584,594 ---- inline void ParallelCompactData::RegionData::set_highest_ref(HeapWord* addr) { #ifdef ASSERT HeapWord* tmp = _highest_ref; while (addr > tmp) { ! tmp = Atomic::cmpxchg(addr, &_highest_ref, tmp); } #endif // #ifdef ASSERT } inline bool ParallelCompactData::RegionData::claim()
< prev index next >