hotspot/src/share/vm/gc/g1/heapRegionManager.hpp
changeset 33786 ac8da6513351
parent 32589 f86fb16fcab0
child 38177 b0c9cb06506b
--- a/hotspot/src/share/vm/gc/g1/heapRegionManager.hpp	Fri Nov 06 09:58:06 2015 -0800
+++ b/hotspot/src/share/vm/gc/g1/heapRegionManager.hpp	Mon Nov 09 09:19:39 2015 +0100
@@ -150,6 +150,10 @@
   // is valid.
   inline HeapRegion* at(uint index) 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;