Home
last modified time | relevance | path

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

12

/external/v8/test/cctest/heap/
Dtest-compaction.cc47 Page::FromAddress(compaction_page_handles.front()->address()); in HEAP_TEST()
57 CHECK_EQ(to_be_aborted_page, Page::FromAddress(object->address())); in HEAP_TEST()
94 Page::FromAddress(compaction_page_handles.front()->address()); in HEAP_TEST()
107 Page::FromAddress(page_to_fill_handles.front()->address()); in HEAP_TEST()
117 (Page::FromAddress(object->address()) == to_be_aborted_page)); in HEAP_TEST()
118 if (Page::FromAddress(object->address()) == to_be_aborted_page) { in HEAP_TEST()
122 CHECK_EQ(Page::FromAddress(object->address()), page_to_fill); in HEAP_TEST()
170 Page::FromAddress(compaction_page_handles.front()->address()); in HEAP_TEST()
189 Page::FromAddress(page_to_fill_handles.front()->address()); in HEAP_TEST()
201 if (Page::FromAddress(current->address()) != to_be_aborted_page) { in HEAP_TEST()
[all …]
Dtest-lab.cc32 object = HeapObject::FromAddress(base); in VerifyIterable()
73 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST()
94 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST()
123 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST()
150 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST()
191 AllocationResult lab_backing_store1(HeapObject::FromAddress(base1)); in TEST()
204 AllocationResult lab_backing_store2(HeapObject::FromAddress(base2)); in TEST()
233 AllocationResult lab_backing_store1(HeapObject::FromAddress(base1)); in TEST()
238 AllocationResult lab_backing_store2(HeapObject::FromAddress(base2)); in TEST()
243 AllocationResult lab_backing_store3(HeapObject::FromAddress(base3)); in TEST()
[all …]
Dtest-spaces.cc43 Page* p = Page::FromAddress(page_start);
50 CHECK(!Page::FromAddress(addr)->IsRegionDirty(addr));
56 Page::FromAddress(addr)->MarkRegionDirty(addr);
62 CHECK(Page::FromAddress(addr)->IsRegionDirty(addr));
78 Page* p = Page::FromAddress(page_start);
Dtest-heap.cc754 Page* evac_page = Page::FromAddress(constant_pool->address()); in TEST()
2064 filler = HeapObject::FromAddress(start); in TEST()
2078 filler = HeapObject::FromAddress(start); in TEST()
2095 filler = HeapObject::FromAddress(start); in TEST()
2106 filler = HeapObject::FromAddress(start); in TEST()
2114 filler = HeapObject::FromAddress(start); in TEST()
2163 filler1 = HeapObject::FromAddress(start + kPointerSize); in TEST()
2170 filler1 = HeapObject::FromAddress(start); in TEST()
2182 filler1 = HeapObject::FromAddress(start + kPointerSize); in TEST()
2189 filler1 = HeapObject::FromAddress(start); in TEST()
[all …]
Dtest-mark-compact.cc65 s.Push(HeapObject::FromAddress(current_address)); in TEST()
/external/v8/src/heap/
Dspaces-inl.h61 HeapObject* object = HeapObject::FromAddress(current_); in Next()
78 : prev_page_(NewSpacePage::FromAddress(space->ToSpaceStart())->prev_page()), in NewSpacePageIterator()
79 next_page_(NewSpacePage::FromAddress(space->ToSpaceStart())), in NewSpacePageIterator()
88 : prev_page_(NewSpacePage::FromAddress(start)->prev_page()), in NewSpacePageIterator()
89 next_page_(NewSpacePage::FromAddress(start)), in NewSpacePageIterator()
127 HeapObject* obj = HeapObject::FromAddress(cur_addr_); in FromCurrentPage()
210 Page* p = Page::FromAddress(addr); in Contains()
240 MemoryChunk* chunk = MemoryChunk::FromAddress(o->address()); in FromAnyPointerAddress()
285 MemoryChunk* answer = MemoryChunk::FromAddress(heap_object->address()); in next()
320 return HeapObject::FromAddress(current_top); in AllocateLinearly()
[all …]
Dmark-compact-inl.h61 Page* target_page = Page::FromAddress(reinterpret_cast<Address>(target)); in RecordSlot()
75 Page* target_page = Page::FromAddress(reinterpret_cast<Address>(target)); in ForceRecordSlot()
168 object = HeapObject::FromAddress(addr); in Next()
170 object = HeapObject::FromAddress(addr); in Next()
172 object = HeapObject::FromAddress(addr); in Next()
Dslots-buffer.cc43 DCHECK(Page::FromAddress(reinterpret_cast<Address>(kRemovedEntry)) in RemoveInvalidSlots()
62 !Page::FromAddress(reinterpret_cast<Address>(object)) in RemoveInvalidSlots()
84 DCHECK(Page::FromAddress(reinterpret_cast<Address>(kRemovedEntry)) in RemoveObjectSlots()
Dspaces.h190 INLINE(static Bitmap* FromAddress(Address addr)) { in INLINE()
441 static MemoryChunk* FromAddress(Address a) { in FromAddress() function
445 static const MemoryChunk* FromAddress(const byte* a) { in FromAddress() function
451 MemoryChunk::FromAddress(object->address())->IncrementLiveBytes(by); in IncrementLiveBytesFromGC()
467 MemoryChunk* chunk = MemoryChunk::FromAddress(mark - 1); in UpdateHighWaterMark()
670 return Bitmap::FromAddress(address() + kHeaderSize); in markbits()
808 INLINE(static Page* FromAddress(Address a)) { in INLINE()
817 Page* p = FromAddress(top - kPointerSize); in INLINE()
948 HeapObject* GetObject() { return HeapObject::FromAddress(area_start()); } in GetObject()
1182 Page* page = Page::FromAddress(addr); in Update()
[all …]
Dspaces.cc60 cur_page = Page::FromAddress(cur_addr_ - 1); in AdvanceToNextPage()
456 MemoryChunk* chunk = FromAddress(base); in Initialize()
925 MemoryChunk* chunk = MemoryChunk::FromAddress(object->address()); in AllocateChunk()
1141 Page* p = Page::FromAddress(addr); in AllocateChunk()
1156 Page* p = Page::FromAddress(addr); in AllocateChunk()
1733 HeapObject* object = HeapObject::FromAddress(current); in AllocateChunk()
1908 NewSpacePage::FromAddress(start_ + (pages_after - 1) * Page::kPageSize); in AllocateChunk()
2297 Page* page_for_node = Page::FromAddress(cur_node->address()); in AllocateChunk()
2326 if (Page::FromAddress(node->address()) == p) return true; in AllocateChunk()
2337 Page* page = Page::FromAddress(node->address()); in AllocateChunk()
[all …]
Dincremental-marking.cc81 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in RecordWriteFromCode()
141 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in RecordWrites()
223 MemoryChunk* chunk = MemoryChunk::FromAddress(object->address()); in VisitFixedArrayIncremental()
811 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in UpdateMarkingDequeAfterScavenge()
830 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in VisitObject()
953 Page* p = Page::FromAddress(obj->address()); in Stop()
Dheap-inl.h312 MemoryChunk* memory_chunk = MemoryChunk::FromAddress(object_address); in UpdateAllocationsHash()
391 NewSpacePage* page = NewSpacePage::FromAddress(old_address); in ShouldBePromoted()
427 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in AllowedToBeMigrated()
482 HeapObject* candidate = HeapObject::FromAddress(memento_address); in FindAllocationMemento()
Dmark-compact.cc112 object = HeapObject::FromAddress(current); in VerifyMarking()
131 NewSpacePage::FromAddress(space->bottom())->area_start()); in VerifyMarking()
206 HeapObject* object = HeapObject::FromAddress(current); in VerifyEvacuation()
356 MemoryChunk* chunk = MemoryChunk::FromAddress(object->address()); in VerifyValidStoreAndSlotsBufferEntries()
421 CHECK_EQ(0, Page::FromAddress(obj->address())->LiveBytes()); in VerifyMarkbitsAreClean()
475 Page::FromAddress(obj->address())->ResetProgressBar(); in ClearMarkbits()
476 Page::FromAddress(obj->address())->ResetLiveBytes(); in ClearMarkbits()
606 DCHECK(MemoryChunk::FromAddress(old_start) == in TransferMark()
607 MemoryChunk::FromAddress(new_start)); in TransferMark()
630 HeapObject::FromAddress(new_start), new_mark_bit); in TransferMark()
[all …]
Dmark-compact.h34 MemoryChunk* p = MemoryChunk::FromAddress(addr); in INLINE()
388 return Page::FromAddress(reinterpret_cast<Address>(host)) in INLINE()
393 return Page::FromAddress(reinterpret_cast<Address>(obj)) in INLINE()
Dstore-buffer.cc394 MemoryChunk* chunk = MemoryChunk::FromAddress(object->address()); in ClearInvalidStoreBufferEntries()
Dheap.cc946 Page* page = Page::FromAddress(from_top); in EnsureFillerObjectAtTop()
1938 HeapObject* object = HeapObject::FromAddress(new_space_front); in DoScavenge()
2016 return HeapObject::FromAddress(object->address() + filler_size); in PrecedeWithFiller()
2145 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in AllocateFillerObject()
3067 HeapObject* filler = HeapObject::FromAddress(addr); in CreateFillerObjectAt()
3094 Page* page = Page::FromAddress(address); in CanMoveObjectStart()
3160 FixedArrayBase::cast(HeapObject::FromAddress(new_start)); in LeftTrimFixedArray()
3323 MemoryChunk::FromAddress(address)->owner()->identity() != LO_SPACE) { in AllocateCode()
/external/v8/src/
Dframes-inl.h44 return FromAddress(Memory::Address_at(address() + offset)); in next()
48 inline StackHandler* StackHandler::FromAddress(Address address) { in FromAddress() function
Dframes.cc106 handler_ = StackHandler::FromAddress(Isolate::handler(top)); in Reset()
1483 Page* page = Page::FromAddress(inner_pointer); in GcSafeFindCodeForInnerPointer()
1499 HeapObject* obj = HeapObject::FromAddress(addr); in GcSafeFindCodeForInnerPointer()
Dlog.cc537 Code* from_code = Code::cast(HeapObject::FromAddress(from)); in CodeMoveEvent()
550 reinterpret_cast<byte*>(HeapObject::FromAddress(to)) + header_size; in CodeMoveEvent()
557 Code* from_code = Code::cast(HeapObject::FromAddress(from)); in CodeDeleteEvent()
Dframes.h94 static inline StackHandler* FromAddress(Address address);
/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()
1118 ec_page = Page::FromAddress(obj_value->address()); in TEST()
1415 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in TEST()
1517 ec_page = Page::FromAddress(obj_value->address()); in TestIncrementalWriteBarrier()
1518 CHECK_NE(ec_page, Page::FromAddress(obj->address())); in TestIncrementalWriteBarrier()
/external/v8/src/snapshot/
Dserialize.cc776 DCHECK(padding == 0 || HeapObject::FromAddress(address)->IsFiller()); in GetBackReferencedObject()
779 obj = HeapObject::FromAddress(address); in GetBackReferencedObject()
802 obj = HeapObject::FromAddress(address); in ReadObject()
815 obj = HeapObject::FromAddress(address); in ReadObject()
977 Code::cast(HeapObject::FromAddress(current_object_address)), \ in ReadData()
1109 Code::cast(HeapObject::FromAddress(current_object_address)); in ReadData()
1142 HeapObject* obj = HeapObject::FromAddress(current_object_address); in ReadData()
1973 MemoryChunk::FromAddress(object_->address())->owner()->identity(); in Serialize()
2324 return Code::cast(HeapObject::FromAddress(&code_buffer_.first())); in CopyCode()
/external/v8/src/debug/
Ddebug.cc147 BreakLocation BreakLocation::FromAddress(Handle<DebugInfo> debug_info, in FromAddress() function in v8::internal::BreakLocation
450 BreakLocation location = BreakLocation::FromAddress(debug_info, call_pc); in Break()
675 BreakLocation location = BreakLocation::FromAddress(debug_info, pc); in ClearBreakPoint()
851 BreakLocation location = BreakLocation::FromAddress(debug_info, call_pc); in PrepareStep()
Ddebug.h67 static BreakLocation FromAddress(Handle<DebugInfo> debug_info, Address pc);

12