< prev index next >
src/share/vm/gc/g1/heapRegionManager.hpp
Print this page
*** 148,157 ****
--- 148,160 ----
// Return the HeapRegion at the given index. Assume that the index
// is valid.
inline HeapRegion* at(uint index) const;
+ // Return the next region (or null if no more region is available).
+ inline HeapRegion* next_region_by_index(HeapRegion* hr) const;
+
// If addr is within the committed space return its corresponding
// HeapRegion, otherwise return NULL.
inline HeapRegion* addr_to_region(HeapWord* addr) const;
// Insert the given region into the free region list.
< prev index next >