src/share/vm/memory/heapInspection.hpp
Print this page
rev 4274 : 8008920: Tracing events for heap statistics
*** 130,137 ****
--- 130,146 ----
class HeapInspection : public AllStatic {
public:
static void heap_inspection(outputStream* st, bool need_prologue);
static void find_instances_at_safepoint(klassOop k, GrowableArray<oop>* result);
+ static void instance_inspection(KlassInfoClosure* closure);
+ static void instance_inspection(BoolObjectClosure* object_filter,
+ KlassInfoClosure* closure);
+ static HeapWord* create_random_seed();
+
+ private:
+ static bool is_shared_heap();
+ static size_t iterate_over_heap(KlassInfoTable* cit);
+ static size_t iterate_over_heap(BoolObjectClosure* object_filter, KlassInfoTable* cit);
};
#endif // SHARE_VM_MEMORY_HEAPINSPECTION_HPP