8130823: VerifyRememberedSets is an expensive nop in product builds
authorjwilhelm
Fri, 04 Sep 2015 13:23:10 +0200
changeset 32618 bbbe25551000
parent 32617 a59435e1fecc
child 32620 d7bbbe43614e
8130823: VerifyRememberedSets is an expensive nop in product builds Reviewed-by: jmasa, tschatzl
hotspot/src/share/vm/gc/parallel/cardTableExtension.cpp
--- a/hotspot/src/share/vm/gc/parallel/cardTableExtension.cpp	Fri Sep 04 09:47:35 2015 +0200
+++ b/hotspot/src/share/vm/gc/parallel/cardTableExtension.cpp	Fri Sep 04 13:23:10 2015 +0200
@@ -89,7 +89,7 @@
     CheckForUnmarkedOops object_check(_young_gen, _card_table);
     obj->oop_iterate_no_header(&object_check);
     if (object_check.has_unmarked_oop()) {
-      assert(_card_table->addr_is_marked_imprecise(obj), "Found unmarked young_gen object");
+      guarantee(_card_table->addr_is_marked_imprecise(obj), "Found unmarked young_gen object");
     }
   }
 };