< prev index next >
src/hotspot/share/gc/g1/heapRegionManager.hpp
Print this page
rev 56821 : imported patch 8220310.mut.0
rev 56822 : imported patch 8220310.mut.1
rev 56823 : imported patch 8220310.mut.2
rev 56834 : imported patch 8220312.stat.2
*** 190,199 ****
--- 190,203 ----
// Return the number of committed free regions in the heap.
uint num_free_regions() const {
return _free_list.length();
}
+ uint num_free_regions(uint node_index) const {
+ return _free_list.length(node_index);
+ }
+
size_t total_free_bytes() const {
return num_free_regions() * HeapRegion::GrainBytes;
}
// Return the number of available (uncommitted) regions.
< prev index next >