Lines Matching defs:HeapEntry
450 class HeapEntry;
465 void Init(int child_index, Type type, const char* name, HeapEntry* to);
466 void Init(int child_index, Type type, int index, HeapEntry* to);
467 void Init(int child_index, int index, HeapEntry* to);
481 HeapEntry* to() { return to_; }
483 HeapEntry* From();
492 HeapEntry* to_;
500 // HeapEntry instances represent an entity from the heap (or a special
505 // HeapEntry
519 class HeapEntry BASE_EMBEDDED {
534 HeapEntry() { }
559 HeapEntry* dominator() { return dominator_; }
560 void set_dominator(HeapEntry* entry) {
571 HeapEntry* entry,
576 HeapEntry* entry,
578 void SetUnidirElementReference(int child_index, int index, HeapEntry* entry);
612 HeapEntry* dominator_;
616 DISALLOW_COPY_AND_ASSIGN(HeapEntry);
644 HeapEntry* root() { return root_entry_; }
645 HeapEntry* gc_roots() { return gc_roots_entry_; }
646 HeapEntry* natives_root() { return natives_root_entry_; }
647 HeapEntry* gc_subroot(int index) { return gc_subroot_entries_[index]; }
648 List<HeapEntry*>* entries() { return &entries_; }
653 HeapEntry* AddEntry(HeapEntry::Type type,
659 HeapEntry* AddRootEntry(int children_count);
660 HeapEntry* AddGcRootsEntry(int children_count, int retainers_count);
661 HeapEntry* AddGcSubrootEntry(int tag,
664 HeapEntry* AddNativesRootEntry(int children_count, int retainers_count);
666 HeapEntry* GetEntryById(SnapshotObjectId id);
667 List<HeapEntry*>* GetSortedEntriesList();
676 HeapEntry* GetNextEntryToInit();
682 HeapEntry* root_entry_;
683 HeapEntry* gc_roots_entry_;
684 HeapEntry* natives_root_entry_;
685 HeapEntry* gc_subroot_entries_[VisitorSynchronization::kNumberOfSyncTags];
687 List<HeapEntry*> entries_;
797 virtual HeapEntry* AllocateEntry(
810 HeapEntry* Map(HeapThing thing);
811 void Pair(HeapThing thing, HeapEntriesAllocator* allocator, HeapEntry* entry);
820 static HeapEntry* const kHeapEntryPlaceholder;
824 EntryInfo(HeapEntry* entry, HeapEntriesAllocator* allocator)
830 HeapEntry* entry;
876 virtual HeapEntry* AddEntry(HeapThing ptr,
878 virtual HeapEntry* FindEntry(HeapThing ptr) = 0;
879 virtual HeapEntry* FindOrAddEntry(HeapThing ptr,
883 HeapEntry* parent_entry,
886 HeapEntry* child_entry) = 0;
889 HeapEntry* parent_entry,
891 HeapEntry* child_entry) = 0;
894 HeapEntry* parent_entry,
897 HeapEntry* child_entry) = 0;
900 HeapEntry* parent_entry,
902 HeapEntry* child_entry) = 0;
920 virtual HeapEntry* AllocateEntry(
933 HeapEntry* AddEntry(
935 HeapEntry* AddEntry(HeapObject* object,
936 HeapEntry::Type type,
942 void ExtractClosureReferences(JSObject* js_obj, HeapEntry* entry);
943 void ExtractPropertyReferences(JSObject* js_obj, HeapEntry* entry);
944 void ExtractElementReferences(JSObject* js_obj, HeapEntry* entry);
945 void ExtractInternalReferences(JSObject* js_obj, HeapEntry* entry);
947 HeapEntry* parent,
951 HeapEntry* parent,
955 HeapEntry* parent,
959 HeapEntry* parent,
964 HeapEntry* parent,
969 HeapEntry* parent,
973 HeapEntry* parent_entry,
978 HeapEntry* parent,
984 HeapEntry* parent,
995 HeapEntry* GetEntry(Object* obj);
1086 bool BuildDominatorTree(const Vector<HeapEntry*>& entries,
1091 void FillReversePostorderIndexes(Vector<HeapEntry*>* entries);
1101 // Mapping from HeapThing pointers to HeapEntry* pointers.
1137 int GetNodeId(HeapEntry* entry);
1141 void SerializeNode(HeapEntry* entry);