--- old/src/share/vm/gc/g1/g1CollectedHeap.hpp 2017-08-04 01:01:44.982210100 -0400 +++ new/src/share/vm/gc/g1/g1CollectedHeap.hpp 2017-08-04 01:01:43.698137441 -0400 @@ -677,7 +677,7 @@ // VM thread at safepoints, without the heap lock held. They can be used // to create and archive a set of heap regions which can be mapped at the // same fixed addresses in a subsequent JVM invocation. - void begin_archive_alloc_range(); + void begin_archive_alloc_range(bool open = false); // Check if the requested size would be too large for an archive allocation. bool is_archive_alloc_too_large(size_t word_size); @@ -702,7 +702,7 @@ // Commit the appropriate G1 regions containing the specified MemRegions // and mark them as 'archive' regions. The regions in the array must be // non-overlapping and in order of ascending address. - bool alloc_archive_regions(MemRegion* range, size_t count); + bool alloc_archive_regions(MemRegion* range, size_t count, bool open); // Insert any required filler objects in the G1 regions around the specified // ranges to make the regions parseable. This must be called after