src/hotspot/share/gc/g1/g1CardCounts.cpp
changeset 53121 4c4651aba203
parent 53034 de99beff5c0e
parent 53116 bb03098c4dde
child 54110 f4f0dce5d0bb
equal deleted inserted replaced
53111:315f53a48199 53121:4c4651aba203
    61   _listener(), _g1h(g1h), _ct(NULL), _card_counts(NULL), _reserved_max_card_num(0), _ct_bot(NULL) {
    61   _listener(), _g1h(g1h), _ct(NULL), _card_counts(NULL), _reserved_max_card_num(0), _ct_bot(NULL) {
    62   _listener.set_cardcounts(this);
    62   _listener.set_cardcounts(this);
    63 }
    63 }
    64 
    64 
    65 void G1CardCounts::initialize(G1RegionToSpaceMapper* mapper) {
    65 void G1CardCounts::initialize(G1RegionToSpaceMapper* mapper) {
    66   assert(_g1h->max_capacity() > 0, "initialization order");
    66   assert(_g1h->max_reserved_capacity() > 0, "initialization order");
    67   assert(_g1h->capacity() == 0, "initialization order");
    67   assert(_g1h->capacity() == 0, "initialization order");
    68 
    68 
    69   if (G1ConcRSHotCardLimit > 0) {
    69   if (G1ConcRSHotCardLimit > 0) {
    70     // The max value we can store in the counts table is
    70     // The max value we can store in the counts table is
    71     // max_jubyte. Guarantee the value of the hot
    71     // max_jubyte. Guarantee the value of the hot