--- old/src/hotspot/share/gc/g1/g1CardCounts.cpp 2018-11-19 14:04:09.769808400 -0800 +++ new/src/hotspot/share/gc/g1/g1CardCounts.cpp 2018-11-19 14:04:08.806007400 -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) {