8237017: Shenandoah: Remove racy assertion

Reviewed-by: rkennke
This commit is contained in:
Zhengyu Gu 2020-01-13 11:51:45 -05:00
parent 913b8702d1
commit ab90653aa9

View File

@ -1715,7 +1715,6 @@ void ShenandoahEvacUpdateCleanupOopStorageRootsClosure::do_oop(oop* p) {
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) {