Home
last modified time | relevance | path

Searched refs:WeakCell (Results 1 - 23 of 23) sorted by relevance

/third_party/node/deps/v8/src/objects/
H A Djs-weak-refs-inl.h21 TQ_OBJECT_CONSTRUCTORS_IMPL(WeakCell)
30 Handle<WeakCell> weak_cell, Isolate* isolate) { in RegisterWeakCellWithUnregisterToken()
47 WeakCell existing_weak_cell = WeakCell::cast(value); in RegisterWeakCellWithUnregisterToken()
59 // key. Each WeakCell will be in the "active_cells" or "cleared_cells" list of in Unregister()
102 WeakCell weak_cell = WeakCell::cast(value); in RemoveUnregisterToken()
125 weak_cell.RawField(WeakCell::kKeyListPrevOffset), in RemoveUnregisterToken()
132 WeakCell prev_cell = WeakCell in RemoveUnregisterToken()
[all...]
H A Djs-weak-refs.h18 class WeakCell;
37 Handle<WeakCell> weak_cell, Isolate* isolate);
60 // as well as removing the entry from the key map if it is the only WeakCell
76 class WeakCell : public TorqueGeneratedWeakCell<WeakCell, HeapObject> { class
78 EXPORT_DECL_VERIFIER(WeakCell)
88 // Nullify is called during GC and it modifies the pointers in WeakCell and
98 TQ_OBJECT_CONSTRUCTORS(WeakCell)
H A Dinstance-type.h309 V(_, WeakCellMap, weak_cell_map, WeakCell) \
H A Dobject-list-macros.h266 V(WeakCell) \
H A Dmap.h88 V(WeakCell)
H A Dobjects.cc6952 WeakCell weak_cell = WeakCell::cast(Object(raw_weak_cell));
6976 WeakCell next = WeakCell::cast(weak_cell.key_list_next());
6983 WeakCell prev = WeakCell::cast(weak_cell.key_list_prev());
6986 WeakCell next = WeakCell::cast(weak_cell.key_list_next());
H A Dobjects-body-descriptors-inl.h237 class WeakCell::BodyDescriptor final : public BodyDescriptorBase {
1252 return CALL_APPLY(WeakCell); in BodyDescriptorApply()
/third_party/node/deps/v8/src/runtime/
H A Druntime-weak-refs.cc35 Handle<WeakCell> weak_cell = args.at<WeakCell>(1); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/heap/
H A Dobjects-visiting.h38 V(WeakCell) \
145 int VisitWeakCell(Map map, WeakCell weak_cell);
H A Dmarking-visitor-inl.h410 Map map, WeakCell weak_cell) { in VisitWeakCell()
413 int size = WeakCell::BodyDescriptor::SizeOf(map, weak_cell); in VisitWeakCell()
415 WeakCell::BodyDescriptor::IterateBody(map, weak_cell, size, this); in VisitWeakCell()
422 // Record the slots inside the WeakCell, since the IterateBody above in VisitWeakCell()
424 ObjectSlot slot = weak_cell.RawField(WeakCell::kTargetOffset); in VisitWeakCell()
426 slot = weak_cell.RawField(WeakCell::kUnregisterTokenOffset); in VisitWeakCell()
429 // WeakCell points to a potentially dead object or a dead unregister in VisitWeakCell()
H A Dweak-object-worklists.h59 F(WeakCell, weak_cells, WeakCells) \
H A Dweak-object-worklists.cc159 void WeakObjects::UpdateWeakCells(WeakObjectWorklist<WeakCell>& weak_cells) { in UpdateWeakCells()
H A Dobjects-visiting-inl.h231 WeakCell weak_cell) { in VisitWeakCell()
H A Dmarking-visitor.h179 V8_INLINE int VisitWeakCell(Map map, WeakCell object);
H A Dfactory.h74 class WeakCell;
H A Dsetup-heap-internal.cc526 ALLOCATE_MAP(WEAK_CELL_TYPE, WeakCell::kSize, weak_cell) in CreateInitialMaps()
H A Dmark-compact.cc3020 WeakCell weak_cell; in ClearJSWeakRefs()
3031 // The value of the WeakCell is dead. in ClearJSWeakRefs()
3038 // We're modifying the pointers in WeakCell and JSFinalizationRegistry in ClearJSWeakRefs()
3045 // The value of the WeakCell is alive. in ClearJSWeakRefs()
3046 ObjectSlot slot = weak_cell.RawField(WeakCell::kTargetOffset); in ClearJSWeakRefs()
3054 // key map. Multiple WeakCell with the same token will have all their in ClearJSWeakRefs()
3056 // WeakCell. Like above, we're modifying pointers during GC, so record the in ClearJSWeakRefs()
3066 ObjectSlot slot = weak_cell.RawField(WeakCell::kUnregisterTokenOffset); in ClearJSWeakRefs()
/third_party/node/deps/v8/src/diagnostics/
H A Dobjects-debug.cc1240 void WeakCell::WeakCellVerify(Isolate* isolate) { in WeakCellVerify()
1247 CHECK_EQ(WeakCell::cast(prev()).next(), *this); in WeakCellVerify()
1252 CHECK_EQ(WeakCell::cast(next()).prev(), *this); in WeakCellVerify()
1277 CHECK(WeakCell::cast(active_cells()).prev().IsUndefined(isolate)); in JSFinalizationRegistryVerify()
1280 CHECK(WeakCell::cast(cleared_cells()).prev().IsUndefined(isolate)); in JSFinalizationRegistryVerify()
H A Dobjects-printer.cc1430 active_cell = WeakCell::cast(active_cell).next(); in JSFinalizationRegistryPrint()
1436 cleared_cell = WeakCell::cast(cleared_cell).next(); in JSFinalizationRegistryPrint()
/third_party/node/deps/v8/src/profiler/
H A Dheap-snapshot-generator.cc1127 ExtractWeakCellReferences(entry, WeakCell::cast(obj)); in ExtractReferences()
1492 WeakCell weak_cell) { in ExtractWeakCellReferences()
1494 WeakCell::kTargetOffset); in ExtractWeakCellReferences()
1496 WeakCell::kUnregisterTokenOffset); in ExtractWeakCellReferences()
H A Dheap-snapshot-generator.h430 void ExtractWeakCellReferences(HeapEntry* entry, WeakCell weak_cell);
/third_party/node/deps/v8/src/codegen/
H A Dcode-stub-assembler.h4036 TNode<WeakCell> weak_cell);
H A Dcode-stub-assembler.cc15087 TNode<WeakCell> weak_cell) {

Completed in 71 milliseconds