• Home
  • Raw
  • Download

Lines Matching refs:object

96                                            HeapObject* object) {  in EvacuateThinStringNoShortcut()  argument
97 EvacuateObject<POINTER_OBJECT, kWordAligned>(map, slot, object, in EvacuateThinStringNoShortcut()
158 HeapObject* object, int object_size) { in SemiSpaceCopyObject() argument
161 DCHECK(heap->AllowedToBeMigrated(object, NEW_SPACE)); in SemiSpaceCopyObject()
173 MigrateObject(heap, object, target, object_size); in SemiSpaceCopyObject()
187 HeapObject* object, int object_size) { in PromoteObject() argument
195 MigrateObject(heap, object, target, object_size); in PromoteObject()
206 ObjectMarking::IsBlack(object)); in PromoteObject()
216 HeapObject* object, int object_size) { in EvacuateObject() argument
218 SLOW_DCHECK(object->Size() == object_size); in EvacuateObject()
221 if (!heap->ShouldBePromoted(object->address(), object_size)) { in EvacuateObject()
224 if (SemiSpaceCopyObject<alignment>(map, slot, object, object_size)) { in EvacuateObject()
229 if (PromoteObject<object_contents, alignment>(map, slot, object, in EvacuateObject()
235 if (SemiSpaceCopyObject<alignment>(map, slot, object, object_size)) return; in EvacuateObject()
241 HeapObject* object) { in EvacuateJSFunction() argument
242 ObjectEvacuationStrategy<POINTER_OBJECT>::Visit(map, slot, object); in EvacuateJSFunction()
246 MapWord map_word = object->map_word(); in EvacuateJSFunction()
264 HeapObject* object) { in EvacuateFixedArray() argument
265 int length = reinterpret_cast<FixedArray*>(object)->synchronized_length(); in EvacuateFixedArray()
267 EvacuateObject<POINTER_OBJECT, kWordAligned>(map, slot, object, in EvacuateFixedArray()
272 HeapObject* object) { in EvacuateFixedDoubleArray() argument
273 int length = reinterpret_cast<FixedDoubleArray*>(object)->length(); in EvacuateFixedDoubleArray()
275 EvacuateObject<DATA_OBJECT, kDoubleAligned>(map, slot, object, object_size); in EvacuateFixedDoubleArray()
279 HeapObject* object) { in EvacuateFixedTypedArray() argument
280 int object_size = reinterpret_cast<FixedTypedArrayBase*>(object)->size(); in EvacuateFixedTypedArray()
281 EvacuateObject<POINTER_OBJECT, kWordAligned>(map, slot, object, in EvacuateFixedTypedArray()
286 HeapObject* object) { in EvacuateFixedFloat64Array() argument
287 int object_size = reinterpret_cast<FixedFloat64Array*>(object)->size(); in EvacuateFixedFloat64Array()
288 EvacuateObject<POINTER_OBJECT, kDoubleAligned>(map, slot, object, in EvacuateFixedFloat64Array()
293 HeapObject* object) { in EvacuateByteArray() argument
294 int object_size = reinterpret_cast<ByteArray*>(object)->ByteArraySize(); in EvacuateByteArray()
295 EvacuateObject<DATA_OBJECT, kWordAligned>(map, slot, object, object_size); in EvacuateByteArray()
299 HeapObject* object) { in EvacuateSeqOneByteString() argument
300 int object_size = SeqOneByteString::cast(object) in EvacuateSeqOneByteString()
302 EvacuateObject<DATA_OBJECT, kWordAligned>(map, slot, object, object_size); in EvacuateSeqOneByteString()
306 HeapObject* object) { in EvacuateSeqTwoByteString() argument
307 int object_size = SeqTwoByteString::cast(object) in EvacuateSeqTwoByteString()
309 EvacuateObject<DATA_OBJECT, kWordAligned>(map, slot, object, object_size); in EvacuateSeqTwoByteString()
313 HeapObject* object) { in EvacuateShortcutCandidate() argument
319 ConsString::cast(object)->unchecked_second() == heap->empty_string()) { in EvacuateShortcutCandidate()
321 HeapObject::cast(ConsString::cast(object)->unchecked_first()); in EvacuateShortcutCandidate()
326 object->set_map_word(MapWord::FromForwardingAddress(first)); in EvacuateShortcutCandidate()
335 object->set_map_word(MapWord::FromForwardingAddress(target)); in EvacuateShortcutCandidate()
340 object->set_map_word(MapWord::FromForwardingAddress(*slot)); in EvacuateShortcutCandidate()
345 EvacuateObject<POINTER_OBJECT, kWordAligned>(map, slot, object, in EvacuateShortcutCandidate()
350 HeapObject* object) { in EvacuateThinString() argument
352 HeapObject* actual = ThinString::cast(object)->actual(); in EvacuateThinString()
357 object->set_map_word(MapWord::FromForwardingAddress(actual)); in EvacuateThinString()
361 EvacuateObject<POINTER_OBJECT, kWordAligned>(map, slot, object, in EvacuateThinString()
370 HeapObject* object) { in VisitSpecialized() argument
371 EvacuateObject<object_contents, kWordAligned>(map, slot, object, in VisitSpecialized()
375 static inline void Visit(Map* map, HeapObject** slot, HeapObject* object) { in Visit() argument
377 EvacuateObject<object_contents, kWordAligned>(map, slot, object, in Visit()
402 void Scavenger::ScavengeObjectSlow(HeapObject** p, HeapObject* object) { in ScavengeObjectSlow() argument
403 SLOW_DCHECK(object->GetIsolate()->heap()->InFromSpace(object)); in ScavengeObjectSlow()
404 MapWord first_word = object->map_word(); in ScavengeObjectSlow()
408 scavenger->scavenging_visitors_table_.GetVisitor(map)(map, p, object); in ScavengeObjectSlow()
471 Object* object = *p; in ScavengePointer() local
472 if (!heap_->InNewSpace(object)) return; in ScavengePointer()
475 reinterpret_cast<HeapObject*>(object)); in ScavengePointer()