Lines Matching full:heapobject
270 int Heap::GcSafeSizeOfOldObject(HeapObject* object) {
847 // Visit all HeapObject pointers in [start, end).
1236 // Copy all HeapObject pointers in [start, end)
1244 Heap::ScavengeObject(reinterpret_cast<HeapObject**>(p),
1245 reinterpret_cast<HeapObject*>(object));
1261 CHECK(!heap_->InNewSpace(HeapObject::cast(*current)));
1276 for (HeapObject* object = code_it.Next();
1284 for (HeapObject* object = data_it.Next();
1307 !HeapObject::cast(*p)->map_word().IsForwardingAddress();
1398 HeapObject* obj = reinterpret_cast<HeapObject*>(*(head_start++));
1414 MapWord map_word = HeapObject::cast(object)->map_word();
1497 for (HeapObject* heap_object = cell_iterator.Next();
1510 for (HeapObject* heap_object = js_global_property_cell_iterator.Next();
1581 MapWord first_word = HeapObject::cast(*p)->map_word();
1672 HeapObject::RawField(tail, WeakListVisitor<T>::WeakNextOffset());
1787 Object** head_slot = HeapObject::RawField(
1872 Object** slot = HeapObject::RawField(
1998 Heap::ScavengeObject(reinterpret_cast<HeapObject**>(p),
1999 reinterpret_cast<HeapObject*>(object));
2013 HeapObject* object = HeapObject::FromAddress(new_space_front);
2028 HeapObject* target;
2055 INLINE(static HeapObject* EnsureDoubleAligned(Heap* heap,
2056 HeapObject* object,
2059 static HeapObject* EnsureDoubleAligned(Heap* heap,
2060 HeapObject* object,
2064 return HeapObject::FromAddress(object->address() + kPointerSize);
2166 static void RecordCopiedObject(Heap* heap, HeapObject* obj) {
2185 HeapObject* source,
2186 HeapObject* target,
2222 HeapObject** slot,
2223 HeapObject* object,
2248 HeapObject* target = HeapObject::cast(result);
2277 HeapObject* target = HeapObject::cast(result);
2293 HeapObject** slot,
2294 HeapObject* object) {
2298 HeapObject* target = *slot;
2304 // miss it as it is not HeapObject-tagged.
2315 HeapObject** slot,
2316 HeapObject* object) {
2324 HeapObject** slot,
2325 HeapObject* object) {
2334 HeapObject** slot,
2335 HeapObject* object) {
2343 HeapObject** slot,
2344 HeapObject* object) {
2353 HeapObject** slot,
2354 HeapObject* object) {
2367 HeapObject** slot,
2368 HeapObject* object) {
2376 HeapObject* first =
2377 HeapObject::cast(ConsString::cast(object)->unchecked_first());
2388 HeapObject* target = first_word.ToForwardingAddress();
2410 HeapObject** slot,
2411 HeapObject* object) {
2417 HeapObject** slot,
2418 HeapObject* object) {
2487 void Heap::ScavengeObjectSlow(HeapObject** p, HeapObject* object) {
3009 HeapObject::cast(result)->set_map_no_write_barrier(heap_number_map());
3023 HeapObject::cast(result)->set_map_no_write_barrier(cell_map());
3038 HeapObject::cast(result)->set_map_no_write_barrier(
4183 HeapObject* filler = HeapObject::FromAddress(addr);
4235 HeapObject* result;
4242 if (!maybe_result->To<HeapObject>(&result)) return maybe_result;
4251 if (!maybe_result->To<HeapObject>(&result)) return maybe_result;
4321 Address new_addr = reinterpret_cast<HeapObject*>(result)->address();
4363 Address new_addr = reinterpret_cast<HeapObject*>(result)->address();
4414 HeapObject::cast(result)->set_map_no_write_barrier(map);
4434 HeapObject::cast(result)->set_map_no_write_barrier(map);
4503 CopyBlock(HeapObject::cast(result)->address(),
4861 Address clone_address = HeapObject::cast(clone)->address();
4882 CopyBlock(HeapObject::cast(clone)->address(),
5189 reinterpret_cast<HeapObject*>(result)->set_map_no_write_barrier(map);
5232 HeapObject::cast(result)->set_map_no_write_barrier(ascii_string_map());
5235 ASSERT_EQ(size, HeapObject::cast(result)->Size());
5256 HeapObject::cast(result)->set_map_no_write_barrier(string_map());
5259 ASSERT_EQ(size, HeapObject::cast(result)->Size());
5303 HeapObject* dst = HeapObject::cast(obj);
5310 HeapObject::cast(obj)->set_map_no_write_barrier(map);
5329 HeapObject* dst = HeapObject::cast(obj);
5349 HeapObject* dst = HeapObject::cast(obj);
5384 HeapObject::cast(result)->set_map_no_write_barrier(fixed_array_map());
5482 HeapObject* object;
5484 if (!maybe_object->To<HeapObject>(&object)) return maybe_object;
5504 HeapObject* object;
5506 if (!maybe_object->To<HeapObject>(&object)) return maybe_object;
5509 HeapObject::cast(object)->set_map_no_write_barrier(constant_pool_array_map());
5517 HeapObject::RawField(
5531 reinterpret_cast<HeapObject*>(result)->set_map_no_write_barrier(
5547 HeapObject::cast(result)->set_map_no_write_barrier(symbol_map());
5993 bool Heap::Contains(HeapObject* value) {
6012 bool Heap::InSpace(HeapObject* value, AllocationSpace space) {
6186 MarkBit mark_bit = Marking::MarkBitFrom(HeapObject::FromAddress(start));
6199 callback(reinterpret_cast<HeapObject**>(slot),
6200 HeapObject::cast(object));
6252 FreeSpace::cast(HeapObject::FromAddress(current_address));
6352 for (HeapObject* object = it.Next(); object != NULL; object = it.Next()) {
6592 for (HeapObject* obj = iterator.next();
7159 virtual bool SkipObject(HeapObject* object) = 0;
7173 bool SkipObject(HeapObject* object) {
7186 HeapObject* obj = HeapObject::cast(*p);
7197 HeapObject* obj = marking_stack_.RemoveLast();
7203 List<HeapObject*> marking_stack_;
7270 HeapObject* HeapIterator::next() {
7273 HeapObject* obj = NextObject();
7279 HeapObject* HeapIterator::NextObject() {
7283 if (HeapObject* obj = object_iterator_->next_object()) {
7290 if (HeapObject* obj = object_iterator_->next_object()) {
7316 // Scan all HeapObject pointers in [start, end)
7332 // Scan all HeapObject pointers in [start, end)
7346 // Visit all HeapObject pointers in [start, end)
7378 static bool SafeIsNativeContext(HeapObject* obj) {
7386 HeapObject* obj = HeapObject::cast(*p);
7404 Map* map_p = reinterpret_cast<Map*>(HeapObject::cast(map));
7436 HeapObject* obj = HeapObject::cast(*p);
7448 HeapObject* map_p = HeapObject::FromAddress(map_addr);