< prev index next >
src/hotspot/share/memory/heapInspection.cpp
Print this page
@@ -717,11 +717,11 @@
size_t HeapInspection::populate_table(KlassInfoTable* cit, BoolObjectClosure *filter) {
ResourceMark rm;
RecordInstanceClosure ric(cit, filter);
- Universe::heap()->safe_object_iterate(&ric);
+ Universe::heap()->object_iterate(&ric);
return ric.missed_count();
}
void HeapInspection::heap_inspection(outputStream* st) {
ResourceMark rm;
@@ -790,7 +790,7 @@
// Ensure that the heap is parsable
Universe::heap()->ensure_parsability(false); // no need to retire TALBs
// Iterate over objects in the heap
FindInstanceClosure fic(k, result);
- Universe::heap()->safe_object_iterate(&fic);
+ Universe::heap()->object_iterate(&fic);
}
< prev index next >