diff -r 6b5f3f5fd63c -r 1906adbef2dc src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp --- a/src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp Wed Aug 22 10:28:34 2018 -0700 +++ b/src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp Wed Aug 22 20:37:07 2018 +0200 @@ -92,6 +92,10 @@ _old_set.remove(hr); } +inline void G1CollectedHeap::archive_set_add(HeapRegion* hr) { + _archive_set.add(hr); +} + // It dirties the cards that cover the block so that the post // write barrier never queues anything when updating objects on this // block. It is assumed (and in fact we assert) that the block