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