Lines Matching defs:map

101   virtual void VerifyMap(Map map) = 0;
132 VerifyMap(object.map(cage_base()));
241 void VerifyMap(Map map) override { VerifyHeapObjectImpl(map); }
331 VerifyMap(object.map(cage_base()));
340 virtual void VerifyMap(Map map) = 0;
429 void VerifyMap(Map map) override { VerifyHeapObjectImpl(map); }
520 bool MarkCompactCollector::IsMapOrForwardedMap(Map map) {
521 MapWord map_word = map.map_word(kRelaxedLoad);
1185 MarkObject(host, host.map(cage_base()));
1190 // The map slot should be handled in VisitMapPointer.
1252 MarkObject(host, host.map_slot(), host.map(cage_base()));
1257 // The map slot should be handled in VisitMapPointer.
1272 // The map slot should be handled in VisitMapPointer.
1607 DCHECK(base->heap_->AllowedToBeMigrated(src.map(cage_base), src, dest));
1616 // In case the object's map gets relocated during GC we load the old map
1618 dst.IterateFast(dst.map(cage_base), size, base->record_visitor_);
1628 dst.IterateFast(dst.map(cage_base), size, base->record_visitor_);
1636 // In case the object's map gets relocated during GC we load the old map
1638 dst.IterateFast(dst.map(cage_base), size, base->record_visitor_);
1666 Map map = object.map(cage_base());
1667 AllocationAlignment alignment = HeapObject::RequiredAlignment(map);
1669 if (ShouldPromoteIntoSharedHeap(map)) {
1690 inline bool ShouldPromoteIntoSharedHeap(Map map) {
1693 map.instance_type());
1760 heap_->UpdateAllocationSite(object.map(), object,
1778 heap_->UpdateAllocationSite(object.map(), object,
1795 Map map = object.map();
1798 if (map.visitor_id() == kVisitThinString) {
1813 HeapObject::RequiredAlignment(old_object.map());
1875 heap_->UpdateAllocationSite(object.map(), object,
1942 Map map = object.map(cage_base());
1945 DCHECK_EQ(object.SizeFromMap(map), size);
1946 object.IterateBodyFast(map, size, &visitor);
2001 marking_visitor_->Visit(obj.map(), obj);
2009 marking_visitor_->Visit(obj.map(marking_visitor_->cage_base()), obj);
2232 DCHECK_IMPLIES(object.map(cage_base) ==
2237 DCHECK_IMPLIES(object.map(cage_base) !=
2249 Map map = object.map(cage_base);
2252 if (native_context_inferrer_.Infer(isolate, map, object, &context)) {
2256 size_t visited_size = marking_visitor_->Visit(map, object);
2259 map, object, visited_size);
2330 Code::BodyDescriptor::IterateBody(code.map(cage_base), code, visitor);
2606 void MarkCompactCollector::ClearPotentialSimpleMapTransition(Map map,
2608 DCHECK(!map.is_prototype_map());
2610 DCHECK_EQ(map.raw_transitions(), HeapObjectReference::Weak(dead_target));
2612 int number_of_own_descriptors = map.NumberOfOwnDescriptors();
2613 DescriptorArray descriptors = map.instance_descriptors(isolate());
2616 TrimDescriptorArray(map, descriptors);
2654 // Swap the map, using set_map_after_allocation to avoid verify heap checks
2776 Map map;
2779 if (array.GetTargetIfExists(0, isolate(), &map)) {
2780 DCHECK(!map.is_null()); // Weak pointers aren't cleared yet.
2781 Object constructor_or_back_pointer = map.constructor_or_back_pointer();
2788 Map parent = Map::cast(map.constructor_or_back_pointer());
2837 bool MarkCompactCollector::CompactTransitionArray(Map map,
2840 DCHECK(!map.is_prototype_map());
2850 DCHECK_EQ(target.constructor_or_back_pointer(), map);
2908 void MarkCompactCollector::TrimDescriptorArray(Map map,
2910 int number_of_own_descriptors = map.NumberOfOwnDescriptors();
2921 TrimEnumCache(map, descriptors);
2925 map.set_owns_descriptors(true);
2928 void MarkCompactCollector::TrimEnumCache(Map map, DescriptorArray descriptors) {
2929 int live_enum = map.EnumLength();
2931 live_enum = map.NumberOfEnumerableProperties();
2999 // The map is non-live.
3054 // key map. Multiple WeakCell with the same token will have all their
3222 // Needs to be atomic for map space compaction: This slot could be a map
3223 // word which we update while loading the map word for updating the slot
4140 // slots only handles old space (for unboxed doubles), and thus map space can
4279 Map map = object.map(visitor.cage_base());
4280 int size = object.SizeFromMap(map);
4281 object.IterateBodyFast(map, size, &visitor);
4557 DCHECK(table.map(cage_base).IsMap(cage_base));
4895 void VerifyMap(Map map) override { VerifyHeapObjectImpl(map); }
4975 void VerifyMap(Map map) override { VerifyHeapObjectImpl(map); }
5061 V8_INLINE int VisitJSArrayBuffer(Map map, JSArrayBuffer object) {
5063 int size = JSArrayBuffer::BodyDescriptor::SizeOf(map, object);
5064 JSArrayBuffer::BodyDescriptor::IterateBody(map, object, size, this);
5377 Map map = object.map(cage_base, kAcquireLoad);
5378 int size = object.SizeFromMap(map);
5839 Map map = object.map(cage_base, kAcquireLoad);
5840 int size = object.SizeFromMap(map);