Lines Matching refs:space
47 for (int space = 0; space < kNumberOfSnapshotSpaces; ++space) {
49 instance_type_count_[space] = std::make_unique<int[]>(kInstanceTypes);
50 instance_type_size_[space] = std::make_unique<size_t[]>(kInstanceTypes);
60 void Serializer::CountAllocation(Map map, int size, SnapshotSpace space) {
63 const int space_number = static_cast<int>(space);
74 for (int space = 0; space < kNumberOfSnapshotSpaces; space++) {
75 sum += allocation_size_[space];
87 for (int space = 0; space < kNumberOfSnapshotSpaces; space++) {
89 BaseSpace::GetSpaceName(static_cast<AllocationSpace>(space)));
93 for (int space = 0; space < kNumberOfSnapshotSpaces; space++) {
94 PrintF("%16zu", allocation_size_[space]);
100 for (int space = 0; space < kNumberOfSnapshotSpaces; ++space) { \
101 if (instance_type_count_[space][Name]) { \
102 PrintF("%10d %10zu %-10s %s\n", instance_type_count_[space][Name], \
103 instance_type_size_[space][Name], \
104 BaseSpace::GetSpaceName(static_cast<AllocationSpace>(space)), \
411 void Serializer::ObjectSerializer::SerializePrologue(SnapshotSpace space,
422 DCHECK_EQ(space, SnapshotSpace::kReadOnlyHeap);
427 sink_->Put(NewObject::Encode(space), "NewObject");
432 // Until the space for the object is allocated, it is considered "pending".
454 serializer_->CountAllocation(object_->map(), size, space);
642 SnapshotSpace space = SnapshotSpace::kOld;
643 SerializePrologue(space, allocation_size, map);
822 SnapshotSpace space = GetSnapshotSpace(*object_);
823 SerializePrologue(space, size, map);