--- old/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2019-11-20 00:10:24.722879239 +0100 +++ new/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2019-11-20 00:10:24.251863491 +0100 @@ -1166,10 +1166,6 @@ // Iterate over all objects, calling "cl.do_object" on each. virtual void object_iterate(ObjectClosure* cl); - virtual void safe_object_iterate(ObjectClosure* cl) { - object_iterate(cl); - } - // Iterate over heap regions, in address order, terminating the // iteration early if the "do_heap_region" method returns "true". void heap_region_iterate(HeapRegionClosure* blk) const;