Lines Matching refs:object

36 void Scavenger::PageMemoryFence(MaybeObject* object) {  in PageMemoryFence()  argument
41 if (object->ToStrongOrWeakHeapObject(&heap_object)) { in PageMemoryFence()
75 HeapObject* object, int object_size) { in SemiSpaceCopyObject() argument
76 DCHECK(heap()->AllowedToBeMigrated(object, NEW_SPACE)); in SemiSpaceCopyObject()
85 const bool self_success = MigrateObject(map, object, target, object_size); in SemiSpaceCopyObject()
88 MapWord map_word = object->map_word(); in SemiSpaceCopyObject()
102 HeapObject* object, int object_size) { in PromoteObject() argument
111 const bool self_success = MigrateObject(map, object, target, object_size); in PromoteObject()
114 MapWord map_word = object->map_word(); in PromoteObject()
129 HeapObject* object, int object_size) { in EvacuateObjectDefault() argument
131 SLOW_DCHECK(object->SizeFromMap(map) == object_size); in EvacuateObjectDefault()
133 if (!heap()->ShouldBePromoted(object->address())) { in EvacuateObjectDefault()
136 if (SemiSpaceCopyObject(map, slot, object, object_size)) return; in EvacuateObjectDefault()
139 if (PromoteObject(map, slot, object, object_size)) return; in EvacuateObjectDefault()
142 if (SemiSpaceCopyObject(map, slot, object, object_size)) return; in EvacuateObjectDefault()
148 ThinString* object, int object_size) { in EvacuateThinString() argument
151 String* actual = object->actual(); in EvacuateThinString()
152 object->set_length(0); in EvacuateThinString()
158 reinterpret_cast<Map**>(object->address()), in EvacuateThinString()
164 object, object_size); in EvacuateThinString()
168 ConsString* object, int object_size) { in EvacuateShortcutCandidate() argument
171 object->unchecked_second() == ReadOnlyRoots(heap()).empty_string()) { in EvacuateShortcutCandidate()
172 HeapObject* first = HeapObject::cast(object->unchecked_first()); in EvacuateShortcutCandidate()
178 reinterpret_cast<Map**>(object->address()), in EvacuateShortcutCandidate()
189 reinterpret_cast<Map**>(object->address()), in EvacuateShortcutCandidate()
197 reinterpret_cast<Map**>(object->address()), in EvacuateShortcutCandidate()
203 object, object_size); in EvacuateShortcutCandidate()
232 void Scavenger::ScavengeObject(HeapObjectReference** p, HeapObject* object) { in ScavengeObject() argument
233 DCHECK(Heap::InFromSpace(object)); in ScavengeObject()
236 MapWord first_word = object->synchronized_map_word(); in ScavengeObject()
256 EvacuateObject(p, map, object); in ScavengeObject()
262 MaybeObject* object = *slot; in CheckAndScavengeObject() local
263 if (Heap::InFromSpace(object)) { in CheckAndScavengeObject()
265 bool success = object->ToStrongOrWeakHeapObject(&heap_object); in CheckAndScavengeObject()
272 object = *slot; in CheckAndScavengeObject()
277 PageMemoryFence(object); in CheckAndScavengeObject()
278 if (Heap::InToSpace(object)) { in CheckAndScavengeObject()
281 } else if (Heap::InToSpace(object)) { in CheckAndScavengeObject()
294 Object* object = *p; in VisitPointers() local
295 if (!Heap::InNewSpace(object)) continue; in VisitPointers()
297 reinterpret_cast<HeapObject*>(object)); in VisitPointers()
304 MaybeObject* object = *p; in VisitPointers() local
305 if (!Heap::InNewSpace(object)) continue; in VisitPointers()
308 if (object->ToStrongOrWeakHeapObject(&heap_object)) { in VisitPointers()