8237392: Shenandoah: Remove unreliable assertion
Reviewed-by: shade
This commit is contained in:
parent
c26aa638a1
commit
f7165c322a
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user