# HG changeset patch # User jwilhelm # Date 1441365790 -7200 # Node ID bbbe25551000b114f0f0c90c3d08a71cace08a9b # Parent a59435e1fecc886d08abdd9c2d8cf775242db0c7 8130823: VerifyRememberedSets is an expensive nop in product builds Reviewed-by: jmasa, tschatzl diff -r a59435e1fecc -r bbbe25551000 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"); } } };