changeset 57638:9338d0f52b2e

8237017: Shenandoah: Remove racy assertion Reviewed-by: rkennke
author zgu
date Mon, 13 Jan 2020 11:51:45 -0500
parents 5f4d6c32a45c
children 6d386d360955
files src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp	Mon Jan 13 15:40:09 2020 +0100
+++ b/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp	Mon Jan 13 11:51:45 2020 -0500
@@ -1715,7 +1715,6 @@
       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) {