< prev index next >

src/hotspot/share/memory/heapInspection.cpp

Print this page

        

*** 717,727 **** size_t HeapInspection::populate_table(KlassInfoTable* cit, BoolObjectClosure *filter) { ResourceMark rm; RecordInstanceClosure ric(cit, filter); ! Universe::heap()->safe_object_iterate(&ric); return ric.missed_count(); } void HeapInspection::heap_inspection(outputStream* st) { ResourceMark rm; --- 717,727 ---- size_t HeapInspection::populate_table(KlassInfoTable* cit, BoolObjectClosure *filter) { ResourceMark rm; RecordInstanceClosure ric(cit, filter); ! Universe::heap()->object_iterate(&ric); return ric.missed_count(); } void HeapInspection::heap_inspection(outputStream* st) { ResourceMark rm;
*** 790,796 **** // 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); } --- 790,796 ---- // 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()->object_iterate(&fic); }
< prev index next >