Lines Matching defs:HeapEntry
20 class HeapEntry;
52 INLINE(HeapEntry* from() const);
53 HeapEntry* to() const { return to_entry_; }
68 HeapEntry* to_entry_;
77 // HeapEntry instances represent an entity from the heap (or a special
79 class HeapEntry BASE_EMBEDDED {
99 HeapEntry() { }
100 HeapEntry(HeapSnapshot* snapshot,
125 HeapGraphEdge::Type type, int index, HeapEntry* entry);
127 HeapGraphEdge::Type type, const char* name, HeapEntry* entry);
160 HeapEntry* root() { return &entries_[root_index_]; }
161 HeapEntry* gc_roots() { return &entries_[gc_roots_index_]; }
162 HeapEntry* gc_subroot(int index) {
165 List<HeapEntry>& entries() { return entries_; }
173 HeapEntry* AddEntry(HeapEntry::Type type,
179 HeapEntry* GetEntryById(SnapshotObjectId id);
180 List<HeapEntry*>* GetSortedEntriesList();
186 HeapEntry* AddRootEntry();
187 HeapEntry* AddGcRootsEntry();
188 HeapEntry* AddGcSubrootEntry(int tag, SnapshotObjectId id);
194 List<HeapEntry> entries_;
197 List<HeapEntry*> sorted_entries_;
282 virtual HeapEntry* AllocateEntry(HeapThing ptr) = 0;
342 virtual HeapEntry* AllocateEntry(HeapThing ptr);
348 HeapEntry* AddEntry(Address address,
349 HeapEntry::Type type,
361 HeapEntry* AddEntry(HeapObject* object);
362 HeapEntry* AddEntry(HeapObject* object,
363 HeapEntry::Type type,
461 HeapEntry* GetEntry(Object* obj);
561 // Mapping from HeapThing pointers to HeapEntry* pointers.
598 int entry_index(HeapEntry* e) { return e->index() * kNodeFieldsCount; }
602 void SerializeNode(HeapEntry* entry);