< prev index next >
src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp
Print this page
rev 57619 : 8237017: Shenandoah: Remove racy assertion
*** 1713,1723 ****
shenandoah_assert_correct(p, obj);
oop old = Atomic::cmpxchg(p, obj, oop(NULL));
if (obj == old) {
_dead_counter ++;
}
- assert(*p == NULL, "Must be");
} else if (_evac_in_progress && _heap->in_collection_set(obj)) {
oop resolved = ShenandoahBarrierSet::resolve_forwarded_not_null(obj);
if (resolved == obj) {
resolved = _heap->evacuate_object(obj, _thread);
}
--- 1713,1722 ----
< prev index next >