8237392: Shenandoah: Remove unreliable assertion

Reviewed-by: shade
This commit is contained in:
Zhengyu Gu 2020-01-16 16:30:20 -05:00
parent c26aa638a1
commit f7165c322a

View File

@ -1332,9 +1332,6 @@ void ShenandoahHeap::object_iterate(ObjectClosure* cl) {
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());
}
}