diff src/share/vm/memory/heapInspection.hpp @ 11113:2cbc8f3011a0

8015972: Refactor the sending of the object count after GC event Reviewed-by: brutisso, pliden
author ehelin
date Wed, 05 Jun 2013 09:44:03 +0200
parents f2110083203d
children 190899198332
line wrap: on
line diff
--- a/src/share/vm/memory/heapInspection.hpp	Thu Jul 04 14:56:49 2013 -0700
+++ b/src/share/vm/memory/heapInspection.hpp	Wed Jun 05 09:44:03 2013 +0200
@@ -26,7 +26,6 @@
 #define SHARE_VM_MEMORY_HEAPINSPECTION_HPP
 
 #include "memory/allocation.inline.hpp"
-#include "memory/klassInfoClosure.hpp"
 #include "oops/oop.inline.hpp"
 #include "oops/annotations.hpp"
 #include "utilities/macros.hpp"
@@ -204,6 +203,12 @@
   const char* name() const;
 };
 
+class KlassInfoClosure : public StackObj {
+ public:
+  // Called for each KlassInfoEntry.
+  virtual void do_cinfo(KlassInfoEntry* cie) = 0;
+};
+
 class KlassInfoBucket: public CHeapObj<mtInternal> {
  private:
   KlassInfoEntry* _list;