Home | History | Annotate | Download | only in src

Lines Matching refs:heap_object

1220 int PartialSerializer::PartialSnapshotCacheIndex(HeapObject* heap_object) {
1227 if (entry == heap_object) return i;
1235 isolate->serialize_partial_snapshot_cache()[length] = heap_object;
1246 int Serializer::RootIndex(HeapObject* heap_object, HowToCode from) {
1248 if (heap->InNewSpace(heap_object)) return kInvalidRootIndex;
1251 if (!root->IsSmi() && root == heap_object) {
1312 HeapObject* heap_object = HeapObject::cast(o);
1315 if ((root_index = RootIndex(heap_object, how_to_code)) != kInvalidRootIndex) {
1316 PutRoot(root_index, heap_object, how_to_code, where_to_point);
1320 if (address_mapper_.IsMapped(heap_object)) {
1321 int space = SpaceOfAlreadySerializedObject(heap_object);
1322 int address = address_mapper_.MappedTo(heap_object);
1330 heap_object,
1377 HeapObject* heap_object = HeapObject::cast(o);
1379 if (heap_object->IsMap()) {
1382 ASSERT(Map::cast(heap_object)->code_cache() ==
1383 heap_object->GetHeap()->raw_unchecked_empty_fixed_array());
1387 if ((root_index = RootIndex(heap_object, how_to_code)) != kInvalidRootIndex) {
1388 PutRoot(root_index, heap_object, how_to_code, where_to_point);
1392 if (ShouldBeInThePartialSnapshotCache(heap_object)) {
1393 int cache_index = PartialSnapshotCacheIndex(heap_object);
1403 ASSERT(!startup_serializer_->address_mapper()->IsMapped(heap_object));
1406 ASSERT(!heap_object->IsSymbol());
1408 if (address_mapper_.IsMapped(heap_object)) {
1409 int space = SpaceOfAlreadySerializedObject(heap_object);
1410 int address = address_mapper_.MappedTo(heap_object);
1418 heap_object,