< prev index next >

src/hotspot/share/gc/g1/heterogeneousHeapRegionManager.hpp

Print this page
rev 56448 : imported patch 8220310.mut.0
rev 56449 : imported patch 8220310.mut.1
rev 56450 : imported patch 8220310.mut.2


 102                           G1RegionToSpaceMapper* next_bitmap,
 103                           G1RegionToSpaceMapper* bot,
 104                           G1RegionToSpaceMapper* cardtable,
 105                           G1RegionToSpaceMapper* card_counts);
 106 
 107   uint start_index_of_nvdimm() const;
 108   uint start_index_of_dram() const;
 109   uint end_index_of_nvdimm() const;
 110   uint end_index_of_dram() const;
 111 
 112   // Override.
 113   HeapRegion* get_dummy_region();
 114 
 115   // Adjust dram_set to provision 'expected_num_regions' regions.
 116   void adjust_dram_regions(uint expected_num_regions, WorkGang* pretouch_workers);
 117 
 118   // Prepare heap regions before and after full collection.
 119   void prepare_for_full_collection_start();
 120   void prepare_for_full_collection_end();
 121 
 122   virtual HeapRegion* allocate_free_region(HeapRegionType type);
 123 
 124   // Return maximum number of regions that heap can expand to.
 125   uint max_expandable_length() const;
 126 
 127   // Override. Expand in nv-dimm.
 128   uint expand_by(uint num_regions, WorkGang* pretouch_workers);
 129 
 130   // Override.
 131   uint expand_at(uint start, uint num_regions, WorkGang* pretouch_workers);
 132 
 133   // Override. This function is called for humongous allocation, so we need to find empty regions in nv-dimm.
 134   uint find_contiguous_only_empty(size_t num);
 135 
 136   // Override. This function is called for humongous allocation, so we need to find empty or unavailable regions in nv-dimm.
 137   uint find_contiguous_empty_or_unavailable(size_t num);
 138 
 139   // Overrides base class implementation to find highest free region in dram.
 140   uint find_highest_free(bool* expanded);
 141 
 142   // Override. This fuction is called to shrink the heap, we shrink in dram first then in nv-dimm.


 102                           G1RegionToSpaceMapper* next_bitmap,
 103                           G1RegionToSpaceMapper* bot,
 104                           G1RegionToSpaceMapper* cardtable,
 105                           G1RegionToSpaceMapper* card_counts);
 106 
 107   uint start_index_of_nvdimm() const;
 108   uint start_index_of_dram() const;
 109   uint end_index_of_nvdimm() const;
 110   uint end_index_of_dram() const;
 111 
 112   // Override.
 113   HeapRegion* get_dummy_region();
 114 
 115   // Adjust dram_set to provision 'expected_num_regions' regions.
 116   void adjust_dram_regions(uint expected_num_regions, WorkGang* pretouch_workers);
 117 
 118   // Prepare heap regions before and after full collection.
 119   void prepare_for_full_collection_start();
 120   void prepare_for_full_collection_end();
 121 
 122   virtual HeapRegion* allocate_free_region(HeapRegionType type, uint node_index);
 123 
 124   // Return maximum number of regions that heap can expand to.
 125   uint max_expandable_length() const;
 126 
 127   // Override. Expand in nv-dimm.
 128   uint expand_by(uint num_regions, WorkGang* pretouch_workers);
 129 
 130   // Override.
 131   uint expand_at(uint start, uint num_regions, WorkGang* pretouch_workers);
 132 
 133   // Override. This function is called for humongous allocation, so we need to find empty regions in nv-dimm.
 134   uint find_contiguous_only_empty(size_t num);
 135 
 136   // Override. This function is called for humongous allocation, so we need to find empty or unavailable regions in nv-dimm.
 137   uint find_contiguous_empty_or_unavailable(size_t num);
 138 
 139   // Overrides base class implementation to find highest free region in dram.
 140   uint find_highest_free(bool* expanded);
 141 
 142   // Override. This fuction is called to shrink the heap, we shrink in dram first then in nv-dimm.
< prev index next >