--- old/src/share/vm/gc/g1/heapRegionManager.hpp 2015-08-13 12:06:37.616313913 -0400 +++ new/src/share/vm/gc/g1/heapRegionManager.hpp 2015-08-13 12:06:37.016279631 -0400 @@ -241,8 +241,9 @@ // Return the actual number of uncommitted regions. uint shrink_by(uint num_regions_to_remove); - // Uncommit the region at the specified index, which must be available and free. - void shrink_at(uint index); + // Uncommit a number of regions starting at the specified index, which must be available, + // empty, and free. + void shrink_at(uint index, size_t num_regions); void verify();