Home
last modified time | relevance | path

Searched refs:FromAddress (Results 1 – 25 of 33) sorted by relevance

12

/external/v8/test/cctest/heap/
Dtest-compaction.cc27 CHECK(Page::FromAddress(fixed_array->address()) == page); in CheckAllObjectsOnPage()
55 Page::FromAddress(compaction_page_handles.front()->address()); in HEAP_TEST()
67 CHECK_EQ(to_be_aborted_page, Page::FromAddress(object->address())); in HEAP_TEST()
103 Page::FromAddress(compaction_page_handles.front()->address()); in HEAP_TEST()
118 Page::FromAddress(page_to_fill_handles.front()->address()); in HEAP_TEST()
129 (Page::FromAddress(object->address()) == to_be_aborted_page)); in HEAP_TEST()
130 if (Page::FromAddress(object->address()) == to_be_aborted_page) { in HEAP_TEST()
134 CHECK_EQ(Page::FromAddress(object->address()), page_to_fill); in HEAP_TEST()
181 Page::FromAddress(compaction_page_handles.front()->address()); in HEAP_TEST()
200 Page::FromAddress(page_to_fill_handles.front()->address()); in HEAP_TEST()
[all …]
Dtest-lab.cc32 object = HeapObject::FromAddress(base); in VerifyIterable()
74 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST()
95 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST()
124 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST()
151 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST()
192 AllocationResult lab_backing_store1(HeapObject::FromAddress(base1)); in TEST()
205 AllocationResult lab_backing_store2(HeapObject::FromAddress(base2)); in TEST()
234 AllocationResult lab_backing_store1(HeapObject::FromAddress(base1)); in TEST()
239 AllocationResult lab_backing_store2(HeapObject::FromAddress(base2)); in TEST()
244 AllocationResult lab_backing_store3(HeapObject::FromAddress(base3)); in TEST()
[all …]
Dtest-array-buffer-tracker.cc43 Page::FromAddress(buf->address())->MarkNeverEvacuate(); in TEST()
72 Page::FromAddress(buf->address())->MarkNeverEvacuate(); in TEST()
103 Page::FromAddress(buf->address())->MarkNeverEvacuate(); in TEST()
127 Page* page_before_gc = Page::FromAddress(buf1->address()); in TEST()
133 Page* page_after_gc = Page::FromAddress(buf1->address()); in TEST()
217 Page::FromAddress(raw_ab->address())->MarkNeverEvacuate(); in TEST()
251 Page::FromAddress(raw_ab->address())->MarkNeverEvacuate(); in TEST()
275 Page::FromAddress(buf->address())->MarkNeverEvacuate(); in TEST()
311 CHECK_NE(Page::FromAddress(buf1->address()), in UNINITIALIZED_TEST()
312 Page::FromAddress(buf2->address())); in UNINITIALIZED_TEST()
Dtest-page-promotion.cc47 Page* first_page = Page::FromAddress(first_object->address()); in UNINITIALIZED_TEST()
80 Page* to_be_promoted_page = Page::FromAddress(last_object->address()); in UNINITIALIZED_TEST()
114 Page* to_be_promoted_page = Page::FromAddress(first_object->address()); in UNINITIALIZED_TEST()
Dtest-spaces.cc42 Page* p = Page::FromAddress(page_start);
49 CHECK(!Page::FromAddress(addr)->IsRegionDirty(addr));
55 Page::FromAddress(addr)->MarkRegionDirty(addr);
61 CHECK(Page::FromAddress(addr)->IsRegionDirty(addr));
77 Page* p = Page::FromAddress(page_start);
Dtest-heap.cc794 Page* evac_page = Page::FromAddress(constant_pool->address()); in TEST()
2100 filler = HeapObject::FromAddress(start); in TEST()
2114 filler = HeapObject::FromAddress(start); in TEST()
2131 filler = HeapObject::FromAddress(start); in TEST()
2142 filler = HeapObject::FromAddress(start); in TEST()
2150 filler = HeapObject::FromAddress(start); in TEST()
2199 filler1 = HeapObject::FromAddress(start + kPointerSize); in TEST()
2206 filler1 = HeapObject::FromAddress(start); in TEST()
2218 filler1 = HeapObject::FromAddress(start + kPointerSize); in TEST()
2225 filler1 = HeapObject::FromAddress(start); in TEST()
[all …]
Dtest-mark-compact.cc64 s.Push(HeapObject::FromAddress(current_address)); in TEST()
/external/v8/src/heap/
Dspaces-inl.h32 : range_(Page::FromAddress(start), in NewSpacePageRange()
65 HeapObject* object = HeapObject::FromAddress(current_); in Next()
91 HeapObject* obj = HeapObject::FromAddress(cur_addr_); in FromCurrentPage()
143 ? MemoryChunk::FromAddress(o->address())->InToSpace() in Contains()
144 : MemoryChunk::FromAddress(o->address())->InFromSpace(); in Contains()
153 if (p == MemoryChunk::FromAddress(a)) return true; in ContainsSlow()
162 return MemoryChunk::FromAddress(o->address())->InNewSpace(); in Contains()
248 MemoryChunk::FromAddress(object->address())->IncrementLiveBytes(by); in IncrementLiveBytesFromGC()
272 MemoryChunk* chunk = MemoryChunk::FromAddress(object->address()); in IncrementLiveBytesFromMutator()
280 Page* p = Page::FromAddress(addr); in Contains()
[all …]
Dmark-compact-inl.h61 Page* target_page = Page::FromAddress(reinterpret_cast<Address>(target)); in RecordSlot()
62 Page* source_page = Page::FromAddress(reinterpret_cast<Address>(object)); in RecordSlot()
155 object = HeapObject::FromAddress(addr); in Next()
157 object = HeapObject::FromAddress(addr); in Next()
159 object = HeapObject::FromAddress(addr); in Next()
Darray-buffer-tracker-inl.h18 Page* page = Page::FromAddress(buffer->address()); in RegisterNew()
39 Page* page = Page::FromAddress(buffer->address()); in Unregister()
Darray-buffer-tracker.cc48 Page* target_page = Page::FromAddress(new_buffer->address()); in Process()
126 Page* page = Page::FromAddress(buffer->address()); in IsTracked()
Dmark-compact.cc110 object = HeapObject::FromAddress(current); in VerifyMarking()
136 CHECK_EQ(space->bottom(), Page::FromAddress(space->bottom())->area_start()); in VerifyMarking()
213 HeapObject* object = HeapObject::FromAddress(current); in VerifyEvacuation()
382 CHECK_EQ(0, Page::FromAddress(obj->address())->LiveBytes()); in VerifyMarkbitsAreClean()
435 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in ClearMarkbits()
589 DCHECK(MemoryChunk::FromAddress(old_start) == in TransferMark()
590 MemoryChunk::FromAddress(new_start)); in TransferMark()
593 Page::FromAddress(old_start)->IsFlagSet(Page::BLACK_PAGE)) in TransferMark()
615 HeapObject::FromAddress(new_start), new_mark_bit); in TransferMark()
1561 if (Page::FromAddress(code_entry)->IsEvacuationCandidate()) { in VisitCodeEntry()
[all …]
Dheap-inl.h322 MemoryChunk* memory_chunk = MemoryChunk::FromAddress(object_address); in UpdateAllocationsHash()
398 Page* page = Page::FromAddress(old_address); in ShouldBePromoted()
425 Page::FromAddress(reinterpret_cast<Address>(object)), in RecordWrite()
431 Page* page = Page::FromAddress(reinterpret_cast<Address>(array)); in RecordFixedArrayElements()
456 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in AllowedToBeMigrated()
515 HeapObject* candidate = HeapObject::FromAddress(memento_address); in FindAllocationMemento()
Dspaces.h196 INLINE(static Bitmap* FromAddress(Address addr)) { in INLINE()
565 static MemoryChunk* FromAddress(Address a) { in FromAddress() function
576 MemoryChunk* chunk = MemoryChunk::FromAddress(mark - 1); in UpdateHighWaterMark()
688 return Bitmap::FromAddress(address() + kHeaderSize); in markbits()
882 static Page* FromAddress(Address addr) { in FromAddress() function
891 return Page::FromAddress(address - kPointerSize); in FromAllocationAreaAddress()
896 return Page::FromAddress(address1) == Page::FromAddress(address2); in OnSamePage()
998 HeapObject* GetObject() { return HeapObject::FromAddress(area_start()); } in GetObject()
1271 Page* page = Page::FromAddress(addr); in Update()
2252 Page::FromAddress(top) == Page::FromAddress(limit - 1)); in SetTopAndLimit()
[all …]
Dmark-compact.h34 MemoryChunk* p = MemoryChunk::FromAddress(addr); in INLINE()
162 if (Page::FromAddress(to->address())->IsFlagSet(Page::BLACK_PAGE)) in INLINE()
537 return Page::FromAddress(reinterpret_cast<Address>(host)) in INLINE()
542 return Page::FromAddress(reinterpret_cast<Address>(obj)) in INLINE()
Dincremental-marking.cc81 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in RecordWriteFromCode()
187 MemoryChunk* chunk = MemoryChunk::FromAddress(object->address()); in VisitFixedArrayIncremental()
284 Page* page = Page::FromAddress(object->address()); in IterateBlackObject()
800 if (Page::FromAddress(dest->address())->IsFlagSet(Page::BLACK_PAGE)) in UpdateMarkingDequeAfterScavenge()
819 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in UpdateMarkingDequeAfterScavenge()
838 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in VisitObject()
Dspaces.cc500 MemoryChunk* chunk = FromAddress(base); in Initialize()
1180 Page* p = Page::FromAddress(addr); in AllocateChunk()
1194 Page* p = Page::FromAddress(addr); in AllocateChunk()
1693 HeapObject* object = HeapObject::FromAddress(current); in AllocateChunk()
2323 Page* page = Page::FromAddress(start); in AllocateChunk()
2332 FreeSpace* free_space = FreeSpace::cast(HeapObject::FromAddress(start)); in AllocateChunk()
2349 Page::FromAddress(node->address()) in AllocateChunk()
2365 Page::FromAddress(node->address()) in AllocateChunk()
2380 Page::FromAddress(node->address()) in AllocateChunk()
3074 Page::FromAddress(object->address())->ResetProgressBar(); in AllocateChunk()
[all …]
Dheap.cc942 Page* page = Page::FromAddress(to_top - kPointerSize); in EnsureFillerObjectAtTop()
1935 HeapObject* object = HeapObject::FromAddress(new_space_front); in DoScavenge()
2020 return HeapObject::FromAddress(object->address() + filler_size); in PrecedeWithFiller()
2151 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in AllocateFillerObject()
3092 HeapObject* filler = HeapObject::FromAddress(addr); in CreateFillerObjectAt()
3126 return Page::FromAddress(address)->SweepingDone(); in CanMoveObjectStart()
3188 FixedArrayBase::cast(HeapObject::FromAddress(new_start)); in LeftTrimFixedArray()
3356 MemoryChunk::FromAddress(address)->owner()->identity() != LO_SPACE) { in AllocateCode()
4217 HeapObject* obj = HeapObject::FromAddress(addr); in RegisterReservationsForBlackAllocation()
4229 HeapObject* obj = HeapObject::FromAddress(addr); in RegisterReservationsForBlackAllocation()
[all …]
/external/v8/src/snapshot/
Ddeserializer.cc324 DCHECK(padding == 0 || HeapObject::FromAddress(address)->IsFiller()); in GetBackReferencedObject()
327 obj = HeapObject::FromAddress(address); in GetBackReferencedObject()
349 obj = HeapObject::FromAddress(address); in ReadObject()
362 obj = HeapObject::FromAddress(address); in ReadObject()
518 Code::cast(HeapObject::FromAddress(current_object_address)), \ in ReadData()
531 HeapObject::FromAddress(current_object_address), \ in ReadData()
658 Code::cast(HeapObject::FromAddress(current_object_address)); in ReadData()
691 HeapObject* obj = HeapObject::FromAddress(current_object_address); in ReadData()
774 HeapObject::FromAddress(current_object_address), in ReadData()
Dserializer.cc309 return Code::cast(HeapObject::FromAddress(&code_buffer_.first())); in CopyCode()
490 MemoryChunk::FromAddress(object_->address())->owner()->identity(); in Serialize()
/external/v8/src/
Dframes-inl.h46 return FromAddress(Memory::Address_at(address() + offset)); in next()
50 inline StackHandler* StackHandler::FromAddress(Address address) { in FromAddress() function
Dframes.cc106 handler_ = StackHandler::FromAddress(Isolate::handler(top)); in Reset()
1689 Page* page = Page::FromAddress(inner_pointer); in GcSafeFindCodeForInnerPointer()
1706 HeapObject* obj = HeapObject::FromAddress(addr); in GcSafeFindCodeForInnerPointer()
/external/v8/test/cctest/
Dtest-slots-buffer.cc107 Page* page = Page::FromAddress(valid_object->address()); in TEST()
Dtest-unboxed-doubles.cc918 HeapObject* fake_object = HeapObject::FromAddress(fake_address); in TEST()
1117 ec_page = Page::FromAddress(obj_value->address()); in TEST()
1456 ec_page = Page::FromAddress(obj_value->address()); in TestIncrementalWriteBarrier()
1457 CHECK_NE(ec_page, Page::FromAddress(obj->address())); in TestIncrementalWriteBarrier()
/external/v8/src/profiler/
Dsampling-heap-profiler.cc100 HeapObject* heap_object = HeapObject::FromAddress(soon_object); in SampleObject()

12