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

@ -1034,11 +1034,6 @@ void GenCollectedHeap::object_iterate(ObjectClosure* cl) {
_old_gen->object_iterate(cl);
}
void GenCollectedHeap::safe_object_iterate(ObjectClosure* cl) {
_young_gen->safe_object_iterate(cl);
_old_gen->safe_object_iterate(cl);
}
Space* GenCollectedHeap::space_containing(const void* addr) const {
Space* res = _young_gen->space_containing(addr);
if (res != NULL) {