Lines Matching refs:address
157 // GC, because it relies on the new address of certain old space
845 // An address range [start, end) can have both live and non-live objects.
863 // Encode a free region, defined by the given start address and size, in the
865 void EncodeFreeRegion(Address free_start, int free_size) {
935 // The forwarding address is encoded at the same offset as the current
942 Heap::new_space()->ToSpaceOffsetForAddress(old_object->address());
944 HeapObject::cast(new_object)->address();
948 // The forwarding address is encoded in the map pointer of the object as an
949 // offset (in terms of live bytes) from the address of the first live object
955 // Record the forwarding address of the first live object if necessary.
957 Page::FromAddress(old_object->address())->mc_first_forwarded =
958 HeapObject::cast(new_object)->address();
962 MapWord::EncodeAddress(old_object->map()->address(), *offset);
979 // The template parameters are an allocation function, a forwarding address
984 inline void EncodeForwardingAddressesInRange(Address start,
985 Address end,
987 // The start address of the current free region while sweeping the space.
988 // This address is set when a transition from live to non-live objects is
990 // is written to memory at this address when a transition from non-live to
992 Address free_start = NULL;
995 // to ensure that free_start is initialized to a proper address before
1000 for (Address current = start; current < end; current += object_size) {
1014 PrintF("forward %p -> %p.\n", object->address(),
1015 HeapObject::cast(forwarded)->address());
1073 for (Address current = space->bottom();
1105 Address free_start = NULL;
1108 for (Address current = p->ObjectAreaStart();
1142 void MarkCompactCollector::DeallocateOldPointerBlock(Address start,
1149 void MarkCompactCollector::DeallocateOldDataBlock(Address start,
1155 void MarkCompactCollector::DeallocateCodeBlock(Address start,
1161 void MarkCompactCollector::DeallocateMapBlock(Address start,
1168 Address end = start + size_in_bytes;
1169 for (Address a = start; a < end; a += Map::kSize) {
1175 void MarkCompactCollector::DeallocateCellBlock(Address start,
1183 Address end = start + size_in_bytes;
1184 for (Address a = start; a < end; a += size) {
1241 explicit MapIterator(Address start)
1322 Address to_evacuate_start_;
1386 reinterpret_cast<void*>(vacant_map->address()),
1387 reinterpret_cast<void*>(map_to_evacuate->address()),
1403 ASSERT_MAP_ALIGNED(new_map->address());
1420 PrintF("update %p : %p -> %p\n", obj->address(),
1431 static void UpdateMapPointersInRange(Address start, Address end) {
1434 for (Address current = start; current < end; current += size) {
1497 // address in the range is top. The callback function is used to get the
1500 Address start,
1501 Address end,
1504 Address current = start;
1579 Address old_addr = obj->address();
1580 Address new_addr;
1584 Address forwarding_pointer_addr =
1626 reinterpret_cast<Address>(p), old_addr, new_addr);
1680 Address forwarded = GetForwardingAddressInOldSpace(old_map);
1686 PrintF("update %p : %p -> %p\n", obj->address(), old_map->address(),
1707 Address map_addr = encoding.DecodeMapAddress(Heap::map_space());
1717 Address new_map_addr = GetForwardingAddressInOldSpace(map);
1723 PrintF("update %p : %p -> %p\n", obj->address(),
1735 Address MarkCompactCollector::GetForwardingAddressInOldSpace(HeapObject* obj) {
1739 // Offset to the first live object's forwarding address.
1741 Address obj_addr = obj->address();
1743 // Find the first live object's forwarding address.
1745 Address first_forwarded = p->mc_first_forwarded;
1747 // Page start address of forwarded address.
1752 Address mc_top = forwarded_page->mc_relocation_top;
1812 Address mark = Heap::new_space()->bottom();
1830 Address map_addr = encoding.DecodeMapAddress(Heap::map_space());
1833 // Get forwarding address before resetting map pointer
1834 Address new_addr = GetForwardingAddressInOldSpace(obj);
1840 Address old_addr = obj->address();
1858 Address new_addr,
1859 Address map_addr) {
1871 space->MCSpaceOffsetForAddress(obj->address()));
1875 PrintF("relocate %p -> %p\n", obj->address(), new_addr);
1887 Address map_addr = encoding.DecodeMapAddress(Heap::map_space());
1890 // Get forwarding address before resetting map pointer.
1891 Address new_addr = GetForwardingAddressInOldSpace(obj);
1896 Address old_addr = obj->address();
1931 Address map_addr = encoding.DecodeMapAddress(Heap::map_space());
1934 // Get forwarding address before resetting map pointer
1935 Address new_addr = GetForwardingAddressInOldSpace(obj);
1940 Address old_addr = obj->address();
1961 // Get forwarding address
1962 Address old_addr = obj->address();
1965 Address new_addr =
2013 LOG(CodeDeleteEvent(obj->address()));
2015 LOG(FunctionDeleteEvent(obj->address()));