src/hotspot/share/gc/shared/space.cpp
changeset 50801 94b56c8594ef
parent 50752 9d62da00bf15
child 51268 4ac20e5f96ce
--- a/src/hotspot/share/gc/shared/space.cpp	Tue Jun 26 13:54:19 2018 +0200
+++ b/src/hotspot/share/gc/shared/space.cpp	Tue Jun 26 13:55:17 2018 +0200
@@ -133,8 +133,7 @@
          "Only ones we deal with for now.");
 
   assert(_precision != CardTable::ObjHeadPreciseArray ||
-         _cl->idempotent() || _last_bottom == NULL ||
-         top <= _last_bottom,
+         _last_bottom == NULL || top <= _last_bottom,
          "Not decreasing");
   NOT_PRODUCT(_last_bottom = mr.start());
 
@@ -172,14 +171,7 @@
     walk_mem_region(extended_mr, bottom_obj, top);
   }
 
-  // An idempotent closure might be applied in any order, so we don't
-  // record a _min_done for it.
-  if (!_cl->idempotent()) {
-    _min_done = bottom;
-  } else {
-    assert(_min_done == _last_explicit_min_done,
-           "Don't update _min_done for idempotent cl");
-  }
+  _min_done = bottom;
 }
 
 DirtyCardToOopClosure* Space::new_dcto_cl(OopIterateClosure* cl,