--- old/src/share/vm/gc/g1/g1CollectedHeap.hpp 2015-11-05 13:45:01.826430978 +0100 +++ new/src/share/vm/gc/g1/g1CollectedHeap.hpp 2015-11-05 13:45:01.734430522 +0100 @@ -1242,8 +1242,9 @@ // 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.