Home
last modified time | relevance | path

Searched refs:MapWord (Results 1 – 21 of 21) sorted by relevance

/third_party/node/deps/v8/src/objects/
Dheap-object.h59 inline bool release_compare_and_swap_map_word(MapWord old_map_word,
60 MapWord new_map_word);
69 DECL_RELAXED_GETTER(map_word, MapWord)
70 inline void set_map_word(MapWord map_word, RelaxedStoreTag);
73 DECL_ACQUIRE_GETTER(map_word, MapWord)
74 inline void set_map_word(MapWord map_word, ReleaseStoreTag);
229 using MapField = TaggedField<MapWord, HeapObject::kMapOffset>;
Dobjects-inl.h715 MapWord MapWord::FromMap(const Map map) { in FromMap()
716 DCHECK(map.is_null() || !MapWord::IsPacked(map.ptr())); in FromMap()
718 return MapWord(Pack(map.ptr())); in FromMap()
720 return MapWord(map.ptr()); in FromMap()
724 Map MapWord::ToMap() const { in ToMap()
732 bool MapWord::IsForwardingAddress() const { in IsForwardingAddress()
736 MapWord MapWord::FromForwardingAddress(HeapObject object) { in FromForwardingAddress()
737 return MapWord(object.ptr() - kHeapObjectTag); in FromForwardingAddress()
740 HeapObject MapWord::ToForwardingAddress() { in ToForwardingAddress()
749 HeapObject MapWord::ToForwardingAddress(PtrComprCageBase host_cage_base) { in ToForwardingAddress()
[all …]
Dtagged-field.h25 std::is_same<MapWord, T>::value ||
36 std::is_base_of<HeapObject, T>::value || std::is_same<MapWord, T>::value;
Dslots-inl.h45 *location() = MapWord::Pack(map.ptr()); in store_map()
53 return Map::unchecked_cast(Object(MapWord::Unpack(*location()))); in load_map()
Dobjects.h851 class MapWord {
856 static inline MapWord FromMap(const Map map);
870 static inline MapWord FromForwardingAddress(HeapObject object);
906 explicit MapWord(Address value) : value_(value) {} in MapWord() function
Dstring.cc244 MapWord::FromMap(initial_map), MapWord::FromMap(sentinel_map))) { in MigrateStringMapUnderLockIfNeeded()
289 MapWord::FromMap(sentinel_map), MapWord::FromMap(target_map))); in MigrateStringMapUnderLockIfNeeded()
Djs-objects-inl.h517 MapWord filler_map, Object undefined_filler) { in InitializeBody()
Djs-objects.h740 MapWord filler_map, Object undefined_value);
/third_party/node/deps/v8/src/heap/
Dscavenger-inl.h89 target.set_map_word(MapWord::FromMap(map), kRelaxedStore); in MigrateObject()
95 MapWord::FromMap(map), MapWord::FromForwardingAddress(target))) { in MigrateObject()
132 MapWord map_word = object.map_word(kAcquireLoad); in SemiSpaceCopyObject()
181 MapWord map_word = object.map_word(kAcquireLoad); in PromoteObject()
218 MapWord::FromMap(map), MapWord::FromForwardingAddress(object))) { in HandleLargeObject()
317 object.set_map_word(MapWord::FromForwardingAddress(first), kReleaseStore); in EvacuateShortcutCandidate()
321 MapWord first_word = first.map_word(kAcquireLoad); in EvacuateShortcutCandidate()
326 object.set_map_word(MapWord::FromForwardingAddress(target), in EvacuateShortcutCandidate()
334 object.set_map_word(MapWord::FromForwardingAddress(slot.ToHeapObject()), in EvacuateShortcutCandidate()
364 SLOW_DCHECK(!MapWord::FromMap(map).IsForwardingAddress()); in EvacuateObject()
[all …]
Dscavenger.cc42 MapWord map_word = host.map_word(kRelaxedLoad); in VisitMapPointer()
182 MapWord map_word = HeapObject::cast(object).map_word(kRelaxedLoad); in RetainAs()
509 object.set_map_word(MapWord::FromMap(map), kRelaxedStore); in HandleSurvivingNewLargeObjects()
782 DCHECK(!MapWord::IsPacked((*p).ptr())); in VisitRootPointer()
798 DCHECK(!MapWord::IsPacked(object.ptr())); in ScavengePointer()
Dincremental-marking.cc192 DCHECK(!MapWord::IsPacked((*p).ptr())); in VisitRootPointer()
199 DCHECK(!MapWord::IsPacked((*p).ptr())); in VisitRootPointers()
208 DCHECK(!MapWord::IsPacked(object.ptr())); in MarkObjectByPointer()
463 MapWord map_word = obj.map_word(cage_base, kRelaxedLoad); in UpdateMarkingWorklistAfterYoungGenGC()
Dmark-compact.cc521 MapWord map_word = map.map_word(kRelaxedLoad); in IsMapOrForwardedMap()
1108 DCHECK(!MapWord::IsPacked(p.Relaxed_Load().ptr())); in VisitRootPointer()
1445 DCHECK(!MapWord::IsPacked(p.Relaxed_Load(cage_base()).ptr())); in VisitPointer()
1646 src.set_map_word(MapWord::FromForwardingAddress(dst), kRelaxedStore); in RawMigrateObject()
1801 object.set_map_word(MapWord::FromForwardingAddress(actual), in TryEvacuateWithoutCopy()
3211 MapWord map_word = heap_obj.map_word(cage_base, kRelaxedLoad); in UpdateSlot()
3328 DCHECK(!MapWord::IsPacked(p.Relaxed_Load().ptr())); in VisitRootPointer()
3452 MapWord map_word = old_string.map_word(kRelaxedLoad); in UpdateReferenceInExternalStringTableEntry()
4003 MapWord map_word = heap_object.map_word(kRelaxedLoad); in RetainAs()
4339 MapWord map_word = heap_object.map_word(kRelaxedLoad); in CheckAndUpdateOldToNewSlot()
[all …]
Dheap.cc934 MapWord map_word = object.map_word(kRelaxedLoad); in UpdateRetainersMapAfterScavenge()
940 MapWord map_word = retainer.map_word(kRelaxedLoad); in UpdateRetainersMapAfterScavenge()
966 MapWord map_word = object.map_word(kRelaxedLoad); in UpdateRetainersAfterScavenge()
1109 MapWord map_word = site.map_word(cage_base, kRelaxedLoad); in MergeAllocationSitePretenuringFeedback()
2890 MapWord first_word = obj.map_word(cage_base, kRelaxedLoad); in UpdateYoungReferenceInExternalStringTableEntry()
3558 Object(MapWord::FromMap(map).ptr())); in LeftTrimFixedArray()
4073 MapWord old_map_word = object.map_word(cage_base, kRelaxedLoad); in VerifySafeMapTransition()
4075 object.set_map_word(MapWord::FromMap(new_map), kRelaxedStore); in VerifySafeMapTransition()
4671 CHECK(!MapWord::IsPacked(obj.ptr()) || !HasWeakHeapObjectTag(obj)); in VisitPointers()
7082 MapWord::IsPacked(object.ptr())); in VerifyPointersImpl()
[all …]
Dheap-inl.h60 MapWord map_word = heap_obj.map_word(kRelaxedLoad); in ForwardingAddress()
/third_party/node/deps/v8/src/roots/
Droots.cc20 MapWord ReadOnlyRoots::one_pointer_filler_map_word() { in one_pointer_filler_map_word()
21 return MapWord::FromMap(one_pointer_filler_map()); in one_pointer_filler_map_word()
Droots.h564 MapWord one_pointer_filler_map_word();
/third_party/node/deps/v8/tools/debug_helper/
Dget-object-properties.cc321 !v8::internal::MapWord::IsPacked(map_ptr.value)); in IsExternalStringCached()
506 DCHECK(!v8::internal::MapWord::IsPacked(map_ptr.value)); in VisitJSObject()
/third_party/node/deps/v8/src/runtime/
Druntime-object.cc101 MapWord filler_map_word = in ClearField()
108 TaggedField<MapWord>::Release_Store(object, offset, filler_map_word); in ClearField()
/third_party/node/deps/v8/src/profiler/
Dheap-snapshot-generator.cc1913 DCHECK(!MapWord::IsPacked(p.Relaxed_Load().ptr())); in VisitRootPointers()
2135 DCHECK(!MapWord::IsPacked(child_obj.ptr())); in SetHiddenReference()
2334 DCHECK(!MapWord::IsPacked(p.Relaxed_Load(isolate_).ptr())); in VisitRootPointersImpl()
/third_party/node/deps/v8/src/diagnostics/
Dobjects-debug.cc159 CHECK(p->IsSmi() || p->IsCleared() || MapWord::IsPacked(p->ptr())); in VerifyMaybeObjectPointer()
/third_party/node/deps/v8/src/execution/
Dframes.cc1210 MapWord map_word = raw.map_word(cage_base, kRelaxedLoad); in IterateCompiledFrame()