< prev index next >
src/hotspot/share/gc/g1/g1CardCounts.cpp
Print this page
rev 53002 : imported patch webrev.11
@@ -61,11 +61,11 @@
_listener(), _g1h(g1h), _card_counts(NULL), _reserved_max_card_num(0) {
_listener.set_cardcounts(this);
}
void G1CardCounts::initialize(G1RegionToSpaceMapper* mapper) {
- assert(_g1h->max_capacity() > 0, "initialization order");
+ assert(_g1h->max_reserved_capacity() > 0, "initialization order");
assert(_g1h->capacity() == 0, "initialization order");
if (G1ConcRSHotCardLimit > 0) {
// The max value we can store in the counts table is
// max_jubyte. Guarantee the value of the hot
< prev index next >