< prev index next >

src/hotspot/share/gc/z/zOopClosures.inline.hpp

Print this page

        

*** 94,104 **** // The destination could have been modified/reused, in which case // we don't want to clear it. However, no one could write the same // oop here again (the object would be strongly live and we would // not consider clearing such oops), so therefore we don't have an // ABA problem here. ! Atomic::cmpxchg(oop(NULL), p, obj); } } inline void ZPhantomCleanOopClosure::do_oop(narrowOop* p) { ShouldNotReachHere(); --- 94,104 ---- // The destination could have been modified/reused, in which case // we don't want to clear it. However, no one could write the same // oop here again (the object would be strongly live and we would // not consider clearing such oops), so therefore we don't have an // ABA problem here. ! Atomic::cmpxchg(p, obj, oop(NULL)); } } inline void ZPhantomCleanOopClosure::do_oop(narrowOop* p) { ShouldNotReachHere();
< prev index next >