Lines Matching defs:HeapEntry
15 class HeapEntry;
49 INLINE(HeapEntry* from() const);
50 HeapEntry* to() const { return to_entry_; }
61 HeapEntry* to_entry_;
70 // HeapEntry instances represent an entity from the heap (or a special
72 class HeapEntry BASE_EMBEDDED {
91 HeapEntry() { }
92 HeapEntry(HeapSnapshot* snapshot,
116 HeapGraphEdge::Type type, int index, HeapEntry* entry);
118 HeapGraphEdge::Type type, const char* name, HeapEntry* entry);
155 HeapEntry* root() { return &entries_[root_index_]; }
156 HeapEntry* gc_roots() { return &entries_[gc_roots_index_]; }
157 HeapEntry* gc_subroot(int index) {
160 List<HeapEntry>& entries() { return entries_; }
168 HeapEntry* AddEntry(HeapEntry::Type type,
174 HeapEntry* GetEntryById(SnapshotObjectId id);
175 List<HeapEntry*>* GetSortedEntriesList();
182 HeapEntry* AddRootEntry();
183 HeapEntry* AddGcRootsEntry();
184 HeapEntry* AddGcSubrootEntry(int tag, SnapshotObjectId id);
192 List<HeapEntry> entries_;
195 List<HeapEntry*> sorted_entries_;
274 virtual HeapEntry* AllocateEntry(HeapThing ptr) = 0;
334 virtual HeapEntry* AllocateEntry(HeapThing ptr);
341 HeapEntry* AddEntry(Address address,
342 HeapEntry::Type type,
352 HeapEntry* AddEntry(HeapObject* object);
353 HeapEntry* AddEntry(HeapObject* object,
354 HeapEntry::Type type,
446 HeapEntry* GetEntry(Object* obj);
546 // Mapping from HeapThing pointers to HeapEntry* pointers.
583 int entry_index(HeapEntry* e) { return e->index() * kNodeFieldsCount; }
587 void SerializeNode(HeapEntry* entry);