Home
last modified time | relevance | path

Searched refs:retainer (Results 1 – 8 of 8) sorted by relevance

/third_party/node/src/
Dmemory_tracker-inl.h26 const MemoryRetainer* retainer) in MemoryRetainerNode() argument
27 : retainer_(retainer) { in MemoryRetainerNode()
273 void MemoryTracker::Track(const MemoryRetainer* retainer, in Track() argument
276 auto it = seen_.find(retainer); in Track()
283 MemoryRetainerNode* n = PushNode(retainer, edge_name); in Track()
284 retainer->MemoryInfo(this); in Track()
290 void MemoryTracker::TrackInlineField(const MemoryRetainer* retainer, in TrackInlineField() argument
292 Track(retainer, edge_name); in TrackInlineField()
294 CurrentNode()->size_ -= retainer->SelfSize(); in TrackInlineField()
302 MemoryRetainerNode* MemoryTracker::AddNode(const MemoryRetainer* retainer, in AddNode() argument
[all …]
Dmemory_tracker.h243 inline void Track(const MemoryRetainer* retainer,
254 inline void TrackInlineField(const MemoryRetainer* retainer,
269 inline MemoryRetainerNode* AddNode(const MemoryRetainer* retainer,
271 inline MemoryRetainerNode* PushNode(const MemoryRetainer* retainer,
/third_party/node/deps/v8/src/heap/
Dobjects-visiting.cc28 Object VisitWeakList(Heap* heap, Object list, WeakObjectRetainer* retainer) { in VisitWeakList() argument
38 Object retained = retainer->RetainAs(list); in VisitWeakList()
65 WeakListVisitor<T>::VisitLiveObject(heap, tail, retainer); in VisitWeakList()
130 WeakObjectRetainer* retainer) { in VisitLiveObject()
141 DoWeakList<CodeT>(heap, context, retainer, Context::OPTIMIZED_CODE_LIST); in VisitLiveObject()
142 DoWeakList<CodeT>(heap, context, retainer, in VisitLiveObject()
149 WeakObjectRetainer* retainer, int index) { in DoWeakList()
151 Object list_head = VisitWeakList<T>(heap, context.get(index), retainer); in DoWeakList()
213 WeakObjectRetainer* retainer);
216 WeakObjectRetainer* retainer);
[all …]
Dheap.h1919 void ProcessAllWeakReferences(WeakObjectRetainer* retainer);
1920 void ProcessYoungWeakReferences(WeakObjectRetainer* retainer);
1921 void ProcessNativeContexts(WeakObjectRetainer* retainer);
1922 void ProcessAllocationSites(WeakObjectRetainer* retainer);
1923 void ProcessDirtyJSFinalizationRegistries(WeakObjectRetainer* retainer);
1924 void ProcessWeakListRoots(WeakObjectRetainer* retainer);
2089 void AddRetainer(HeapObject retainer, HeapObject object);
2090 void AddEphemeronRetainer(HeapObject retainer, HeapObject object);
Dheap.cc931 HeapObject retainer = pair.second; in UpdateRetainersMapAfterScavenge() local
939 if (Heap::InFromPage(retainer)) { in UpdateRetainersMapAfterScavenge()
940 MapWord map_word = retainer.map_word(kRelaxedLoad); in UpdateRetainersMapAfterScavenge()
942 retainer = map_word.ToForwardingAddress(); in UpdateRetainersMapAfterScavenge()
945 updated_map[object] = retainer; in UpdateRetainersMapAfterScavenge()
977 void Heap::AddRetainer(HeapObject retainer, HeapObject object) { in AddRetainer() argument
979 retainer_[object] = retainer; in AddRetainer()
991 void Heap::AddEphemeronRetainer(HeapObject retainer, HeapObject object) { in AddEphemeronRetainer() argument
993 ephemeron_retainer_[object] = retainer; in AddEphemeronRetainer()
3056 void Heap::ProcessAllWeakReferences(WeakObjectRetainer* retainer) { in ProcessAllWeakReferences() argument
[all …]
Dobjects-visiting.h156 Object VisitWeakList(Heap* heap, Object list, WeakObjectRetainer* retainer);
Dmark-compact.cc5475 MinorMarkCompactWeakObjectRetainer retainer(this); in ClearNonLiveReferences() local
5476 heap()->ProcessYoungWeakReferences(&retainer); in ClearNonLiveReferences()
/third_party/node/doc/changelogs/
DCHANGELOG_V11.md732 …ps://github.com/nodejs/node/commit/1abe1d1c06)] - **src**: track memory retainer fields (Gireesh P…