8232260: Remove g1 prefix in G1CollectedHeap::g1_hot_card_cache() getter
Reviewed-by: kbarrett, sjohanss
This commit is contained in:
parent
79c1634258
commit
1c9dd15716
@ -4076,7 +4076,7 @@ private:
|
||||
Atomic::add(r->rem_set()->occupied_locked(), &_rs_length);
|
||||
|
||||
if (!is_young) {
|
||||
g1h->_hot_card_cache->reset_card_counts(r);
|
||||
g1h->hot_card_cache()->reset_card_counts(r);
|
||||
}
|
||||
|
||||
if (!evacuation_failed) {
|
||||
|
@ -129,7 +129,6 @@ class G1RegionMappingChangedListener : public G1MappingChangedListener {
|
||||
};
|
||||
|
||||
class G1CollectedHeap : public CollectedHeap {
|
||||
friend class G1FreeCollectionSetTask;
|
||||
friend class VM_CollectForMetadataAllocation;
|
||||
friend class VM_G1CollectForAllocation;
|
||||
friend class VM_G1CollectFull;
|
||||
@ -1138,7 +1137,7 @@ public:
|
||||
return _reserved.contains(addr);
|
||||
}
|
||||
|
||||
G1HotCardCache* g1_hot_card_cache() const { return _hot_card_cache; }
|
||||
G1HotCardCache* hot_card_cache() const { return _hot_card_cache; }
|
||||
|
||||
G1CardTable* card_table() const {
|
||||
return _card_table;
|
||||
|
@ -114,8 +114,9 @@ void G1FullGCPrepareTask::G1CalculatePointersClosure::reset_region_metadata(Heap
|
||||
hr->rem_set()->clear();
|
||||
hr->clear_cardtable();
|
||||
|
||||
if (_g1h->g1_hot_card_cache()->use_cache()) {
|
||||
_g1h->g1_hot_card_cache()->reset_card_counts(hr);
|
||||
G1HotCardCache* hcc = _g1h->hot_card_cache();
|
||||
if (hcc->use_cache()) {
|
||||
hcc->reset_card_counts(hr);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user