equal
deleted
inserted
replaced
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"); |