--- old/src/share/vm/gc/g1/g1CollectedHeap.cpp 2017-02-20 11:09:12.892237455 +0100 +++ new/src/share/vm/gc/g1/g1CollectedHeap.cpp 2017-02-20 11:09:12.756236780 +0100 @@ -699,9 +699,9 @@ // when mmap'ing archived heap data in, so pre-touching is wasted. FlagSetting fs(AlwaysPreTouch, false); - // Enable archive object checking in G1MarkSweep. We have to let it know + // Enable archive object checking used by G1MarkSweep. We have to let it know // about each archive range, so that objects in those ranges aren't marked. - G1MarkSweep::enable_archive_object_check(); + G1ArchiveAllocator::enable_archive_object_check(); // For each specified MemRegion range, allocate the corresponding G1 // regions and mark them as archive regions. We expect the ranges in @@ -773,7 +773,7 @@ } // Notify mark-sweep of the archive range. - G1MarkSweep::set_range_archive(curr_range, true); + G1ArchiveAllocator::set_range_archive(curr_range, true); } return true; } @@ -924,7 +924,7 @@ } // Notify mark-sweep that this is no longer an archive range. - G1MarkSweep::set_range_archive(ranges[i], false); + G1ArchiveAllocator::set_range_archive(ranges[i], false); } if (uncommitted_regions != 0) {