Skip to content
Permalink
Browse files

8237392: Shenandoah: Remove unreliable assertion

Reviewed-by: shade
  • Loading branch information
zhengyu123 committed Jan 16, 2020
1 parent c26aa63 commit f7165c322a6abefa34afa9eeb76dbd56f70aae09
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp
@@ -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());
}
}

0 comments on commit f7165c3

Please sign in to comment.