changeset 8946:67967c7b055c

8130823: VerifyRememberedSets is an expensive nop in product builds Reviewed-by: jmasa, tschatzl
author jwilhelm
date Fri, 04 Sep 2015 13:23:10 +0200
parents ceb9d9044fc8
children a78dd396f8a4
files src/share/vm/gc/parallel/cardTableExtension.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/parallel/cardTableExtension.cpp	Fri Sep 04 09:47:35 2015 +0200
+++ b/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");
     }
   }
 };