< prev index next >

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

Print this page

        

@@ -148,12 +148,13 @@
 
   // Return the HeapRegion at the given index. Assume that the index
   // is valid.
   inline HeapRegion* 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;
 
   // If addr is within the committed space return its corresponding
   // HeapRegion, otherwise return NULL.
   inline HeapRegion* addr_to_region(HeapWord* addr) const;
 
< prev index next >