--- a/src/hotspot/share/gc/g1/g1CollectedHeap.hpp Wed Nov 20 10:37:46 2019 +0100
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.hpp Wed Nov 20 10:37:46 2019 +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;