8130823: VerifyRememberedSets is an expensive nop in product builds

Reviewed-by: jmasa, tschatzl
This commit is contained in:
Jesper Wilhelmsson 2015-09-04 13:23:10 +02:00
parent cf47fb3a23
commit 1d4ed72ab1

View file

@ -89,7 +89,7 @@ class CheckForUnmarkedObjects : public ObjectClosure {
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");
}
}
};