< prev index next >

src/share/vm/gc/g1/g1CollectedHeap.hpp

Print this page

        

@@ -1240,12 +1240,13 @@
   void heap_region_iterate(HeapRegionClosure* blk) const;
 
   // Return the region with the given index. It assumes the index is valid.
   inline HeapRegion* region_at(uint index) const;
 
-  // Return the next region (by index) if that region is also humongous, NULL otherwise.
-  inline HeapRegion* next_humongous_region(HeapRegion* hr) const;
+  // Return the next region (by index) that is part of the same
+  // humongous object that hr is part of.
+  inline HeapRegion* next_region_in_humongous(HeapRegion* hr) const;
 
   // Calculate the region index of the given address. Given address must be
   // within the heap.
   inline uint addr_to_region(HeapWord* addr) const;
 
< prev index next >