changeset 53116 | bb03098c4dde |
parent 49455 | 848864ed9b17 |
child 53121 | 4c4651aba203 |
--- a/src/hotspot/share/gc/g1/g1CardCounts.cpp Fri Dec 21 18:26:55 2018 +0000 +++ b/src/hotspot/share/gc/g1/g1CardCounts.cpp Fri Dec 21 08:18:59 2018 -0800 @@ -63,7 +63,7 @@ } 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) {