8234437: Remove CollectedHeap::safe_object_iterate()

Reviewed-by: kbarrett, sjohanss
This commit is contained in:
Per Lidén 2019-11-20 10:37:46 +01:00
parent 097ca3b94f
commit 08822b4e05
18 changed files with 6 additions and 70 deletions

View file

@ -387,10 +387,6 @@ class CollectedHeap : public CHeapObj<mtInternal> {
// 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;