Lines Matching refs:object
149 HeapObject* object, int object_size) { in SemiSpaceCopyObject() argument
152 DCHECK(heap->AllowedToBeMigrated(object, NEW_SPACE)); in SemiSpaceCopyObject()
164 MigrateObject(heap, object, target, object_size); in SemiSpaceCopyObject()
178 HeapObject* object, int object_size) { in PromoteObject() argument
186 MigrateObject(heap, object, target, object_size); in PromoteObject()
198 Marking::IsBlack(ObjectMarking::MarkBitFrom(object))); in PromoteObject()
208 HeapObject* object, int object_size) { in EvacuateObject() argument
210 SLOW_DCHECK(object->Size() == object_size); in EvacuateObject()
213 if (!heap->ShouldBePromoted(object->address(), object_size)) { in EvacuateObject()
216 if (SemiSpaceCopyObject<alignment>(map, slot, object, object_size)) { in EvacuateObject()
221 if (PromoteObject<object_contents, alignment>(map, slot, object, in EvacuateObject()
227 if (SemiSpaceCopyObject<alignment>(map, slot, object, object_size)) return; in EvacuateObject()
233 HeapObject* object) { in EvacuateJSFunction() argument
234 ObjectEvacuationStrategy<POINTER_OBJECT>::Visit(map, slot, object); in EvacuateJSFunction()
238 MapWord map_word = object->map_word(); in EvacuateJSFunction()
257 HeapObject* object) { in EvacuateFixedArray() argument
258 int length = reinterpret_cast<FixedArray*>(object)->synchronized_length(); in EvacuateFixedArray()
260 EvacuateObject<POINTER_OBJECT, kWordAligned>(map, slot, object, in EvacuateFixedArray()
265 HeapObject* object) { in EvacuateFixedDoubleArray() argument
266 int length = reinterpret_cast<FixedDoubleArray*>(object)->length(); in EvacuateFixedDoubleArray()
268 EvacuateObject<DATA_OBJECT, kDoubleAligned>(map, slot, object, object_size); in EvacuateFixedDoubleArray()
272 HeapObject* object) { in EvacuateFixedTypedArray() argument
273 int object_size = reinterpret_cast<FixedTypedArrayBase*>(object)->size(); in EvacuateFixedTypedArray()
274 EvacuateObject<POINTER_OBJECT, kWordAligned>(map, slot, object, in EvacuateFixedTypedArray()
279 HeapObject* object) { in EvacuateFixedFloat64Array() argument
280 int object_size = reinterpret_cast<FixedFloat64Array*>(object)->size(); in EvacuateFixedFloat64Array()
281 EvacuateObject<POINTER_OBJECT, kDoubleAligned>(map, slot, object, in EvacuateFixedFloat64Array()
286 HeapObject* object) { in EvacuateByteArray() argument
287 int object_size = reinterpret_cast<ByteArray*>(object)->ByteArraySize(); in EvacuateByteArray()
288 EvacuateObject<DATA_OBJECT, kWordAligned>(map, slot, object, object_size); in EvacuateByteArray()
292 HeapObject* object) { in EvacuateSeqOneByteString() argument
293 int object_size = SeqOneByteString::cast(object) in EvacuateSeqOneByteString()
295 EvacuateObject<DATA_OBJECT, kWordAligned>(map, slot, object, object_size); in EvacuateSeqOneByteString()
299 HeapObject* object) { in EvacuateSeqTwoByteString() argument
300 int object_size = SeqTwoByteString::cast(object) in EvacuateSeqTwoByteString()
302 EvacuateObject<DATA_OBJECT, kWordAligned>(map, slot, object, object_size); in EvacuateSeqTwoByteString()
306 HeapObject* object) { in EvacuateShortcutCandidate() argument
312 ConsString::cast(object)->unchecked_second() == heap->empty_string()) { in EvacuateShortcutCandidate()
314 HeapObject::cast(ConsString::cast(object)->unchecked_first()); in EvacuateShortcutCandidate()
319 object->set_map_word(MapWord::FromForwardingAddress(first)); in EvacuateShortcutCandidate()
328 object->set_map_word(MapWord::FromForwardingAddress(target)); in EvacuateShortcutCandidate()
333 object->set_map_word(MapWord::FromForwardingAddress(*slot)); in EvacuateShortcutCandidate()
338 EvacuateObject<POINTER_OBJECT, kWordAligned>(map, slot, object, in EvacuateShortcutCandidate()
347 HeapObject* object) { in VisitSpecialized() argument
348 EvacuateObject<object_contents, kWordAligned>(map, slot, object, in VisitSpecialized()
352 static inline void Visit(Map* map, HeapObject** slot, HeapObject* object) { in Visit() argument
354 EvacuateObject<object_contents, kWordAligned>(map, slot, object, in Visit()
379 void Scavenger::ScavengeObjectSlow(HeapObject** p, HeapObject* object) { in ScavengeObjectSlow() argument
380 SLOW_DCHECK(object->GetIsolate()->heap()->InFromSpace(object)); in ScavengeObjectSlow()
381 MapWord first_word = object->map_word(); in ScavengeObjectSlow()
385 scavenger->scavenging_visitors_table_.GetVisitor(map)(map, p, object); in ScavengeObjectSlow()
444 Object* object = *p; in ScavengePointer() local
445 if (!heap_->InNewSpace(object)) return; in ScavengePointer()
448 reinterpret_cast<HeapObject*>(object)); in ScavengePointer()