8130823: VerifyRememberedSets is an expensive nop in product builds
Reviewed-by: jmasa, tschatzl
--- 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");
}
}
};