src/hotspot/share/gc/g1/g1CardCounts.cpp
changeset 53034 de99beff5c0e
parent 49455 848864ed9b17
child 53121 4c4651aba203
equal deleted inserted replaced
53033:dcbb71b9e7c0 53034:de99beff5c0e
    56     Copy::fill_to_bytes(&_card_counts[from_card_num], (to_card_num - from_card_num));
    56     Copy::fill_to_bytes(&_card_counts[from_card_num], (to_card_num - from_card_num));
    57   }
    57   }
    58 }
    58 }
    59 
    59 
    60 G1CardCounts::G1CardCounts(G1CollectedHeap *g1h):
    60 G1CardCounts::G1CardCounts(G1CollectedHeap *g1h):
    61   _listener(), _g1h(g1h), _card_counts(NULL), _reserved_max_card_num(0) {
    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_capacity() > 0, "initialization order");