Lines Matching defs:map

926     std::unordered_map<HeapObject, HeapObject, Object::Hasher>* map) {
929 for (auto pair : *map) {
948 *map = std::move(updated_map);
1122 // For sites in the global map the count is accessed through the site.
1656 std::map<int, std::vector<HeapObject>> objects_by_size;
2090 DCHECK_NE(dst_object.map(), ReadOnlyRoots(this).fixed_cow_array_map());
2142 DCHECK_NE(dst_object.map(), ReadOnlyRoots(this).fixed_cow_array_map());
2930 std::map<MemoryChunk*, size_t> size_map;
2944 for (std::map<MemoryChunk*, size_t>::iterator it = size_map.begin();
2953 std::map<MemoryChunk*, size_t> size_map;
2968 for (std::map<MemoryChunk*, size_t>::iterator it = size_map.begin();
3340 filler.map(heap->isolate()).IsMap());
3514 Map map = object.map();
3520 DCHECK(object.map() != ReadOnlyRoots(this).fixed_cow_array_map());
3558 Object(MapWord::FromMap(map).ptr()));
3628 DCHECK(object.map() != ReadOnlyRoots(this).fixed_cow_array_map());
3853 // 2 pages for the old, code, and map space + 1 page for new space.
4037 // use object->set_map_after_allocation() to initialize its map.
4074 // Temporarily set the new map to iterate new slots.
4078 // Restore the old map.
4394 // We do not look for code in new space, or map space. If code
4946 // We need to find a FixedArrayBase map after walking the fillers.
4951 if (current.map(cage_base()) ==
4954 } else if (current.map(cage_base()) ==
5376 InstanceType type = obj.map().instance_type();
6314 void Heap::AddRetainedMap(Handle<NativeContext> context, Handle<Map> map) {
6315 if (map->is_in_retained_map_list() || map->InSharedWritableHeap()) {
6325 WeakArrayList::AddToEnd(isolate(), array, MaybeObjectHandle::Weak(map));
6332 map->set_is_in_retained_map_list(true);
6543 MarkHeapObject(Map::unchecked_cast(object.map(cage_base())));
7063 CHECK(heap_object.map(cage_base()).IsMap());
7069 CHECK(heap_object.map(cage_base()).IsMap());
7070 CHECK(heap_object.map(cage_base()).instance_type() == CODE_TYPE);
7094 Map::ObjectFieldsFrom(host.map(cage_base()).visitor_id()));
7115 bool Heap::AllowedToBeMigrated(Map map, HeapObject obj, AllocationSpace dst) {
7128 if (map == ReadOnlyRoots(this).one_pointer_filler_map()) return false;
7129 InstanceType type = map.instance_type();
7175 return map_word.ToForwardingAddress(code_cage_base).map(cage_base);
7188 Map map = GcSafeMapOfCodeSpaceObject(code);
7189 DCHECK(map == ReadOnlyRoots(this).code_map());
7197 Address end = code.address() + code.SizeFromMap(map);