text: #include "gc.hpp"
  #include "gc_root.hpp"
  
  #include <map>
  
  namespace rubinius {
  
    class Object;
  
  
    class HeapDebug : public GarbageCollector {
    public:
      int seen_objects;
      std::map <Object*, int> seen;
  
      HeapDebug(ObjectMemory *om);
      virtual ~HeapDebug() { }
  
      virtual Object* saw_object(Object* obj);
      void walk(Roots &roots);
    };
  }
  