• Home
  • Raw
  • Download

Lines Matching refs:HeapEntry

51 const int HeapEntry::kNoEntry = -1;
53 HeapEntry::HeapEntry(HeapSnapshot* snapshot, in HeapEntry() function in v8::internal::HeapEntry
69 void HeapEntry::SetNamedReference(HeapGraphEdge::Type type, in SetNamedReference()
71 HeapEntry* entry) { in SetNamedReference()
78 void HeapEntry::SetIndexedReference(HeapGraphEdge::Type type, in SetIndexedReference()
80 HeapEntry* entry) { in SetIndexedReference()
87 void HeapEntry::Print( in Print()
147 const char* HeapEntry::TypeAsString() { in TypeAsString()
188 root_index_(HeapEntry::kNoEntry), in HeapSnapshot()
189 gc_roots_index_(HeapEntry::kNoEntry), in HeapSnapshot()
195 sizeof(HeapEntry) == in HeapSnapshot()
202 gc_subroot_indexes_[i] = HeapEntry::kNoEntry; in HeapSnapshot()
230 HeapEntry* HeapSnapshot::AddRootEntry() { in AddRootEntry()
231 DCHECK(root_index_ == HeapEntry::kNoEntry); in AddRootEntry()
233 HeapEntry* entry = AddEntry(HeapEntry::kSynthetic, in AddRootEntry()
244 HeapEntry* HeapSnapshot::AddGcRootsEntry() { in AddGcRootsEntry()
245 DCHECK(gc_roots_index_ == HeapEntry::kNoEntry); in AddGcRootsEntry()
246 HeapEntry* entry = AddEntry(HeapEntry::kSynthetic, in AddGcRootsEntry()
256 HeapEntry* HeapSnapshot::AddGcSubrootEntry(int tag, SnapshotObjectId id) { in AddGcSubrootEntry()
257 DCHECK(gc_subroot_indexes_[tag] == HeapEntry::kNoEntry); in AddGcSubrootEntry()
259 HeapEntry* entry = AddEntry(HeapEntry::kSynthetic, in AddGcSubrootEntry()
266 HeapEntry* HeapSnapshot::AddEntry(HeapEntry::Type type, in AddEntry()
271 HeapEntry entry(this, type, name, id, size, trace_node_id); in AddEntry()
282 HeapEntry* entry = &entries()[i]; in FillChildren()
297 int operator()(HeapEntry* const* entry) { in operator ()()
306 HeapEntry* HeapSnapshot::GetEntryById(SnapshotObjectId id) { in GetEntryById()
307 List<HeapEntry*>* entries_by_id = GetSortedEntriesList(); in GetEntryById()
324 List<HeapEntry*>* HeapSnapshot::GetSortedEntriesList() { in GetSortedEntriesList()
330 sorted_entries_.Sort<int (*)(HeapEntry* const*, HeapEntry* const*)>( in GetSortedEntriesList()
706 if (cache_entry == NULL) return HeapEntry::kNoEntry; in Map()
776 HeapEntry* V8HeapExplorer::AllocateEntry(HeapThing ptr) { in AllocateEntry()
781 HeapEntry* V8HeapExplorer::AddEntry(HeapObject* object) { in AddEntry()
786 return AddEntry(object, HeapEntry::kClosure, name); in AddEntry()
788 return AddEntry(object, HeapEntry::kClosure, "native_bind"); in AddEntry()
792 HeapEntry::kRegExp, in AddEntry()
803 return AddEntry(object, HeapEntry::kObject, name); in AddEntry()
808 HeapEntry::kConsString, in AddEntry()
812 HeapEntry::kSlicedString, in AddEntry()
815 HeapEntry::kString, in AddEntry()
819 return AddEntry(object, HeapEntry::kHidden, "private symbol"); in AddEntry()
821 return AddEntry(object, HeapEntry::kSymbol, "symbol"); in AddEntry()
823 return AddEntry(object, HeapEntry::kCode, ""); in AddEntry()
827 HeapEntry::kCode, in AddEntry()
832 HeapEntry::kCode, in AddEntry()
837 return AddEntry(object, HeapEntry::kHidden, "system / NativeContext"); in AddEntry()
839 return AddEntry(object, HeapEntry::kObject, "system / Context"); in AddEntry()
842 return AddEntry(object, HeapEntry::kArray, ""); in AddEntry()
844 return AddEntry(object, HeapEntry::kHeapNumber, "number"); in AddEntry()
846 return AddEntry(object, HeapEntry::kHidden, GetSystemEntryName(object)); in AddEntry()
850 HeapEntry* V8HeapExplorer::AddEntry(HeapObject* object, in AddEntry()
851 HeapEntry::Type type, in AddEntry()
857 HeapEntry* V8HeapExplorer::AddEntry(Address address, in AddEntry()
858 HeapEntry::Type type, in AddEntry()
879 HeapEntry* AddEntry(HeapThing ptr, HeapEntriesAllocator* allocator) { in AddEntry()
880 HeapEntry* entry = allocator->AllocateEntry(ptr); in AddEntry()
884 HeapEntry* FindEntry(HeapThing ptr) { in FindEntry()
886 return index != HeapEntry::kNoEntry ? &snapshot_->entries()[index] : NULL; in FindEntry()
888 HeapEntry* FindOrAddEntry(HeapThing ptr, HeapEntriesAllocator* allocator) { in FindOrAddEntry()
889 HeapEntry* entry = FindEntry(ptr); in FindOrAddEntry()
895 HeapEntry* child_entry) { in SetIndexedReference()
896 HeapEntry* parent_entry = &snapshot_->entries()[parent]; in SetIndexedReference()
901 HeapEntry* child_entry) { in SetIndexedAutoIndexReference()
902 HeapEntry* parent_entry = &snapshot_->entries()[parent]; in SetIndexedAutoIndexReference()
909 HeapEntry* child_entry) { in SetNamedReference()
910 HeapEntry* parent_entry = &snapshot_->entries()[parent]; in SetNamedReference()
915 HeapEntry* child_entry) { in SetNamedAutoIndexReference()
916 HeapEntry* parent_entry = &snapshot_->entries()[parent]; in SetNamedAutoIndexReference()
1500 virtual HeapEntry* AllocateEntry(HeapThing ptr) { in AllocateEntry()
1503 HeapEntry::kNative, "system / JSArrayBufferData", size_); in AllocateEntry()
1518 HeapEntry* data_entry = in ExtractJSArrayBufferReferences()
1676 HeapEntry* V8HeapExplorer::GetEntry(Object* obj) { in GetEntry()
1804 HeapEntry* heap_entry = GetEntry(obj); in IterateAndExtractSinglePass()
1858 HeapEntry* child_entry = GetEntry(child_obj); in SetContextReference()
1882 HeapEntry* child_entry = GetEntry(child_obj); in SetNativeBindReference()
1897 HeapEntry* child_entry = GetEntry(child_obj); in SetElementReference()
1913 HeapEntry* child_entry = GetEntry(child_obj); in SetInternalReference()
1931 HeapEntry* child_entry = GetEntry(child_obj); in SetInternalReference()
1946 HeapEntry* child_entry = GetEntry(child_obj); in SetHiddenReference()
1961 HeapEntry* child_entry = GetEntry(child_obj); in SetWeakReference()
1979 HeapEntry* child_entry = GetEntry(child_obj); in SetWeakReference()
2012 HeapEntry* child_entry = GetEntry(child_obj); in SetPropertyReference()
2042 HeapEntry* child_entry = GetEntry(child_obj); in SetUserGlobalReference()
2061 HeapEntry* child_entry = GetEntry(child_obj); in SetGcSubrootReference()
2129 HeapEntry* entry = GetEntry(obj); in TagObject()
2211 HeapEntry::Type entries_type) in BasicHeapEntriesAllocator()
2217 virtual HeapEntry* AllocateEntry(HeapThing ptr);
2222 HeapEntry::Type entries_type_;
2226 HeapEntry* BasicHeapEntriesAllocator::AllocateEntry(HeapThing ptr) { in AllocateEntry()
2254 new BasicHeapEntriesAllocator(snapshot, HeapEntry::kSynthetic); in NativeObjectsExplorer()
2256 new BasicHeapEntriesAllocator(snapshot, HeapEntry::kNative); in NativeObjectsExplorer()
2325 DCHECK(parent_entry != HeapEntry::kNoEntry); in FillEdges()
2329 HeapEntry* child_entry = in FillEdges()
2419 HeapEntry* child_entry = in SetNativeRootReference()
2424 HeapEntry* group_entry = in SetNativeRootReference()
2438 HeapEntry* wrapper_entry = filler_->FindEntry(wrapper); in SetWrapperNativeReferences()
2440 HeapEntry* info_entry = in SetWrapperNativeReferences()
2458 HeapEntry* group_entry = in SetRootNativeRootsReference()
2823 void HeapSnapshotJSONSerializer::SerializeNode(HeapEntry* entry) { in SerializeNode()
2852 List<HeapEntry>& entries = snapshot_->entries(); in SerializeNodes()