--- old/src/share/vm/gc/g1/g1CollectedHeap.hpp 2015-11-06 11:38:09.730432337 +0100 +++ new/src/share/vm/gc/g1/g1CollectedHeap.hpp 2015-11-06 11:38:09.648429945 +0100 @@ -1367,6 +1367,10 @@ return (region_size / 2); } + // Returns the number of regions the humongous object of the given word size + // covers. + static size_t humongous_obj_size_in_regions(size_t word_size); + // Update mod union table with the set of dirty cards. void updateModUnion();