--- old/src/hotspot/share/gc/g1/g1CardCounts.cpp 2018-10-05 11:08:47.531232000 -0700 +++ new/src/hotspot/share/gc/g1/g1CardCounts.cpp 2018-10-05 11:08:46.653874800 -0700 @@ -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) {