src/hotspot/share/gc/g1/g1CollectedHeap.hpp
changeset 58644 64597a6fd186
parent 58264 4e96939a5746
child 58679 9c3209ff7550
child 59060 fce1fa1bdc91
equal deleted inserted replaced
58643:b381e5328461 58644:64597a6fd186
   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