< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp

Print this page
rev 57569 : 8237392: Shenandoah: Remove unreliable assertion

*** 1330,1342 **** // Keep alive an object that was loaded with AS_NO_KEEPALIVE. void ShenandoahHeap::keep_alive(oop obj) { if (is_concurrent_mark_in_progress()) { ShenandoahBarrierSet::barrier_set()->enqueue(obj); - } else { - // Otherwise, it must be live, guaranteed by LRB - shenandoah_assert_marked_if(NULL, obj, has_forwarded_objects()); } } void ShenandoahHeap::heap_region_iterate(ShenandoahHeapRegionClosure* blk) const { for (size_t i = 0; i < num_regions(); i++) { --- 1330,1339 ----
< prev index next >