equal
deleted
inserted
replaced
127 public: |
127 public: |
128 virtual void on_commit(uint start_idx, size_t num_regions, bool zero_filled); |
128 virtual void on_commit(uint start_idx, size_t num_regions, bool zero_filled); |
129 }; |
129 }; |
130 |
130 |
131 class G1CollectedHeap : public CollectedHeap { |
131 class G1CollectedHeap : public CollectedHeap { |
132 friend class G1FreeCollectionSetTask; |
|
133 friend class VM_CollectForMetadataAllocation; |
132 friend class VM_CollectForMetadataAllocation; |
134 friend class VM_G1CollectForAllocation; |
133 friend class VM_G1CollectForAllocation; |
135 friend class VM_G1CollectFull; |
134 friend class VM_G1CollectFull; |
136 friend class VMStructs; |
135 friend class VMStructs; |
137 friend class MutatorAllocRegion; |
136 friend class MutatorAllocRegion; |
1136 |
1135 |
1137 bool is_in_reserved(const void* addr) const { |
1136 bool is_in_reserved(const void* addr) const { |
1138 return _reserved.contains(addr); |
1137 return _reserved.contains(addr); |
1139 } |
1138 } |
1140 |
1139 |
1141 G1HotCardCache* g1_hot_card_cache() const { return _hot_card_cache; } |
1140 G1HotCardCache* hot_card_cache() const { return _hot_card_cache; } |
1142 |
1141 |
1143 G1CardTable* card_table() const { |
1142 G1CardTable* card_table() const { |
1144 return _card_table; |
1143 return _card_table; |
1145 } |
1144 } |
1146 |
1145 |