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