--- old/src/hotspot/share/gc/z/zCollectedHeap.cpp 2019-11-20 00:10:32.296132448 +0100 +++ new/src/hotspot/share/gc/z/zCollectedHeap.cpp 2019-11-20 00:10:31.828116800 +0100 @@ -246,10 +246,6 @@ _heap.object_iterate(cl, true /* visit_weaks */); } -void ZCollectedHeap::safe_object_iterate(ObjectClosure* cl) { - _heap.object_iterate(cl, true /* visit_weaks */); -} - void ZCollectedHeap::register_nmethod(nmethod* nm) { ZNMethod::register_nmethod(nm); }