equal
deleted
inserted
replaced
112 |
112 |
113 void G1FullGCPrepareTask::G1CalculatePointersClosure::reset_region_metadata(HeapRegion* hr) { |
113 void G1FullGCPrepareTask::G1CalculatePointersClosure::reset_region_metadata(HeapRegion* hr) { |
114 hr->rem_set()->clear(); |
114 hr->rem_set()->clear(); |
115 hr->clear_cardtable(); |
115 hr->clear_cardtable(); |
116 |
116 |
117 if (_g1h->g1_hot_card_cache()->use_cache()) { |
117 G1HotCardCache* hcc = _g1h->hot_card_cache(); |
118 _g1h->g1_hot_card_cache()->reset_card_counts(hr); |
118 if (hcc->use_cache()) { |
|
119 hcc->reset_card_counts(hr); |
119 } |
120 } |
120 } |
121 } |
121 |
122 |
122 G1FullGCPrepareTask::G1PrepareCompactLiveClosure::G1PrepareCompactLiveClosure(G1FullGCCompactionPoint* cp) : |
123 G1FullGCPrepareTask::G1PrepareCompactLiveClosure::G1PrepareCompactLiveClosure(G1FullGCCompactionPoint* cp) : |
123 _cp(cp) { } |
124 _cp(cp) { } |