Lines Matching defs:object
145 bool Serializer::MustBeDeferred(HeapObject object) { return false; }
187 // Encode a reference to a hot object by its index in the working set.
192 PrintF(" Encoding hot object %d:", index);
204 // Encode the location of an already deserialized object in order to write
205 // its location into a later object. We can encode the location as an
246 HeapObject object = HeapObject::cast(isolate()->root(root));
249 object.ShortPrint();
260 !Heap::InYoungGeneration(object)) {
265 hot_objects_.Add(object);
271 // full object slot (of kSystemPointerSize) to avoid complications during
284 void Serializer::PutBackReference(HeapObject object,
286 DCHECK_EQ(object, *back_refs_[reference.back_ref_index()]);
288 hot_objects_.Add(object);
309 // Register the current slot with the pending object.
312 // The IdentityMap holding the pending object reference vectors does not
315 // resolving the pending object.
354 // Add the given object to the pending objects -> forward refs map.
358 // If the above emplace didn't actually add the object, then the object must
360 // deferred objects queue though, since it may be the very object we just
406 // decompress map field of off-heap Code object.
432 // Until the space for the object is allocated, it is considered "pending".
435 // Serialize map (first word of the object) before anything else, so that
437 // isn't a pending object.
443 // this object.
448 // Now that the object is allocated, we can resolve pending references to
457 // Mark this object as already serialized, and add it to the reference map so
465 // Only add the object to the map if it's not not_mapped_symbol, else
663 // Since the allocation size is rounded up to object alignment, there
676 explicit UnlinkWeakNextScope(Heap* heap, HeapObject object) {
678 if (object.IsAllocationSite(isolate) &&
679 AllocationSite::cast(object).HasWeakNext()) {
680 object_ = object;
681 next_ = AllocationSite::cast(object).weak_next();
682 AllocationSite::cast(object).set_weak_next(
711 PrintF(" Deferring heap object: ");
724 PrintF(" Encoding heap object: ");
765 SnapshotSpace GetSnapshotSpace(HeapObject object) {
767 if (object.IsCode()) {
769 } else if (ReadOnlyHeap::Contains(object)) {
771 } else if (object.IsMap()) {
776 } else if (ReadOnlyHeap::Contains(object)) {
780 MemoryChunk::FromHeapObject(object)->owner_identity();
825 // Serialize the rest of the object.
838 PrintF(" Deferred heap object ");
846 PrintF(" Encoding deferred heap object\n");
898 // potential pending object serialization.
932 // Now write the object itself.
1022 HeapObject object = target->target_object(isolate());
1023 serializer_->SerializeObject(handle(object, isolate()));
1030 Code object = Code::GetCodeFromTargetAddress(target->target_address());
1031 serializer_->SerializeObject(handle(object, isolate()));
1051 // Target object should be pre-serialized by RelocInfoObjectPreSerializer, so
1055 // specific object already.
1132 // Target object should be pre-serialized by RelocInfoObjectPreSerializer, so
1136 // specific object already.
1143 // value instead of reading it from the object.
1241 // on-heap code object.
1244 // To make snapshots reproducible, we make a copy of the code object
1288 // implicitly as offsets into the pre-serializer's object array.
1290 // without walking RelocInfo, re-build the pre-serializer's object array, and
1312 // We record a kTaggedSize for every object encountered during the
1315 // object).