diff -r 59272e9e0635 -r 1152339c298a src/hotspot/share/gc/shared/collectedHeap.hpp --- a/src/hotspot/share/gc/shared/collectedHeap.hpp Wed Nov 20 10:37:46 2019 +0100 +++ b/src/hotspot/share/gc/shared/collectedHeap.hpp Wed Nov 20 10:37:46 2019 +0100 @@ -387,10 +387,6 @@ // Iterate over all objects, calling "cl.do_object" on each. virtual void object_iterate(ObjectClosure* cl) = 0; - // Similar to object_iterate() except iterates only - // over live objects. - virtual void safe_object_iterate(ObjectClosure* cl) = 0; - // Returns the longest time (in ms) that has elapsed since the last // time that any part of the heap was examined by a garbage collection. virtual jlong millis_since_last_gc() = 0;