--- old/src/share/vm/gc/g1/g1CollectedHeap.hpp 2015-07-31 14:01:37.963750834 -0400 +++ new/src/share/vm/gc/g1/g1CollectedHeap.hpp 2015-07-31 14:01:37.383717733 -0400 @@ -786,6 +786,12 @@ // alloc_archive_regions, and after class loading has occurred. void fill_archive_regions(MemRegion* range, size_t count); + // For each of the specified MemRegions, free the containing G1 regions + // which had been allocated by alloc_archive_regions. This should be called + // rather than fill_archive_regions at JVM init time if the archive file + // mapping failed. + void free_archive_regions(MemRegion* range, size_t count); + protected: // Shrink the garbage-first heap by at most the given size (in bytes!).