Home
last modified time | relevance | path

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

12

/external/v8/src/heap/
Dspaces-inl.h54 : prev_page_(NewSpacePage::FromAddress(space->ToSpaceStart())->prev_page()), in NewSpacePageIterator()
55 next_page_(NewSpacePage::FromAddress(space->ToSpaceStart())), in NewSpacePageIterator()
64 : prev_page_(NewSpacePage::FromAddress(start)->prev_page()), in NewSpacePageIterator()
65 next_page_(NewSpacePage::FromAddress(start)), in NewSpacePageIterator()
90 HeapObject* obj = HeapObject::FromAddress(cur_addr_); in FromCurrentPage()
151 Page* p = Page::FromAddress(addr); in Contains()
178 MemoryChunk* chunk = MemoryChunk::FromAddress(o->address()); in FromAnyPointerAddress()
194 MemoryChunk* chunk = MemoryChunk::FromAddress(mark - 1); in UpdateHighWaterMark()
243 return HeapObject::FromAddress(current_top); in AllocateLinearly()
281 HeapObject* obj = HeapObject::FromAddress(old_top); in AllocateRaw()
Dmark-compact-inl.h17 MemoryChunk* p = MemoryChunk::FromAddress(addr); in MarkBitFrom()
60 Page* object_page = Page::FromAddress(reinterpret_cast<Address>(object)); in RecordSlot()
Dspaces.h186 INLINE(static Bitmap* FromAddress(Address addr)) { in INLINE()
276 static MemoryChunk* FromAddress(Address a) { in FromAddress() function
279 static const MemoryChunk* FromAddress(const byte* a) { in FromAddress() function
518 MemoryChunk::FromAddress(address)->IncrementLiveBytes(by); in IncrementLiveBytesFromGC()
581 return Bitmap::FromAddress(address() + kHeaderSize); in markbits()
709 INLINE(static Page* FromAddress(Address a)) { in INLINE()
718 Page* p = FromAddress(top - kPointerSize); in INLINE()
798 HeapObject* GetObject() { return HeapObject::FromAddress(area_start()); } in GetObject()
969 Page* page = Page::FromAddress(addr); in Update()
1402 static FreeListNode* FromAddress(Address address) { in FromAddress() function
[all …]
Dincremental-marking-inl.h21 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in BaseRecordWrite()
70 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in RecordWrites()
Dspaces.cc75 cur_page = Page::FromAddress(cur_addr_ - 1); in AdvanceToNextPage()
433 MemoryChunk* chunk = FromAddress(base); in Initialize()
869 MemoryChunk* chunk = MemoryChunk::FromAddress(address); in IncrementLiveBytesFromMutator()
938 Page* p = Page::FromAddress(addr); in FindObject()
1419 HeapObject* object = HeapObject::FromAddress(current); in Verify()
1587 NewSpacePage::FromAddress(start_ + (pages_after - 1) * Page::kPageSize); in ShrinkTo()
2064 if (Page::FromAddress((*n)->address()) == p) { in EvictFreeListItemsInList()
2084 if (Page::FromAddress(node->address()) == p) return true; in ContainsPageFreeListItemsInList()
2097 Page::FromAddress(node->address())->IsEvacuationCandidate()) { in PickNodeFromList()
2180 FreeListNode* node = FreeListNode::FromAddress(start); in Free()
[all …]
Dheap-inl.h32 NewSpacePage::FromAddress(reinterpret_cast<Address>(rear_)); in insert()
279 MemoryChunk* memory_chunk = MemoryChunk::FromAddress(object_address); in UpdateAllocationsHash()
371 NewSpacePage* page = NewSpacePage::FromAddress(old_address); in ShouldBePromoted()
444 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in AllowedToBeMigrated()
508 HeapObject* candidate = HeapObject::FromAddress(memento_address); in FindAllocationMemento()
Dmark-compact.cc99 object = HeapObject::FromAddress(current); in VerifyMarking()
115 NewSpacePage::FromAddress(space->bottom())->area_start()); in VerifyMarking()
193 HeapObject* object = HeapObject::FromAddress(current); in VerifyEvacuation()
471 CHECK_EQ(0, Page::FromAddress(obj->address())->LiveBytes()); in VerifyMarkbitsAreClean()
530 Page::FromAddress(obj->address())->ResetProgressBar(); in ClearMarkbits()
531 Page::FromAddress(obj->address())->ResetLiveBytes(); in ClearMarkbits()
653 DCHECK(MemoryChunk::FromAddress(old_start) == in TransferMark()
654 MemoryChunk::FromAddress(new_start)); in TransferMark()
680 HeapObject::FromAddress(new_start), new_mark_bit); in TransferMark()
1934 HeapObject* object = HeapObject::FromAddress(addr); in DiscoverGreyObjectsOnPage()
[all …]
Dincremental-marking.cc55 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in RecordWriteFromCode()
171 MemoryChunk* chunk = MemoryChunk::FromAddress(object->address()); in VisitFixedArrayIncremental()
638 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in UpdateMarkingDequeAfterScavenge()
660 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in VisitObject()
773 Page* p = Page::FromAddress(obj->address()); in Abort()
Dmark-compact.h566 return Page::FromAddress(reinterpret_cast<Address>(anchor)) in INLINE()
571 return Page::FromAddress(reinterpret_cast<Address>(host)) in INLINE()
576 return Page::FromAddress(reinterpret_cast<Address>(obj)) in INLINE()
Dheap.cc1747 HeapObject* object = HeapObject::FromAddress(new_space_front); in DoScavenge()
1798 return HeapObject::FromAddress(object->address() + kPointerSize); in EnsureDoubleAligned()
2332 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in AllocateFillerObject()
3218 HeapObject* filler = HeapObject::FromAddress(addr); in CreateFillerObjectAt()
3237 Page* page = Page::FromAddress(address); in CanMoveObjectStart()
3297 FixedArrayBase::cast(HeapObject::FromAddress(new_start)); in LeftTrimFixedArray()
3440 MemoryChunk::FromAddress(address)->owner()->identity() != LO_SPACE) { in AllocateCode()
4552 MarkBit mark_bit = Marking::MarkBitFrom(HeapObject::FromAddress(start)); in IterateAndMarkPointersToFromSpace()
4614 FreeSpace::cast(HeapObject::FromAddress(current_address)); in CheckStoreBuffer()
6045 MemoryChunk::FromAddress(chunk->address() + Page::kPageSize); in FreeQueuedChunks()
[all …]
Dheap.h406 if (GetHeadPage() != Page::FromAddress(to_space_top)) { in IsBelowPromotionQueue()
432 NewSpacePage::FromAddress(reinterpret_cast<Address>(front_)); in remove()
/external/v8/test/cctest/
Dtest-spaces.cc40 Page* p = Page::FromAddress(page_start);
47 CHECK(!Page::FromAddress(addr)->IsRegionDirty(addr));
53 Page::FromAddress(addr)->MarkRegionDirty(addr);
59 CHECK(Page::FromAddress(addr)->IsRegionDirty(addr));
75 Page* p = Page::FromAddress(page_start);
Dtest-constantpool.cc256 MemoryChunk::FromAddress(array->address())->set_scan_on_scavenge(true); in TEST()
Dtest-mark-compact.cc62 s.PushBlack(HeapObject::FromAddress(current_address)); in TEST()
Dtest-heap.cc4360 Page* page = Page::FromAddress(o->elements()->address()); in TEST()
4479 Page* page = Page::FromAddress(temp2->address()); in TEST()
4487 Page* page = Page::FromAddress(o->address()); in TEST()
/external/v8/src/
Dallocation-tracker.cc230 FreeListNode::FromAddress(addr)->set_size(heap, size); in AllocationEvent()
231 DCHECK_EQ(HeapObject::FromAddress(addr)->Size(), size); in AllocationEvent()
232 DCHECK(FreeListNode::IsFreeListNode(HeapObject::FromAddress(addr))); in AllocationEvent()
Dframes-inl.h41 return FromAddress(Memory::Address_at(address() + offset)); in next()
58 inline StackHandler* StackHandler::FromAddress(Address address) { in FromAddress() function
Dframes.cc105 handler_ = StackHandler::FromAddress(Isolate::handler(top)); in Reset()
895 StackHandler::FromAddress(GetOperandSlot(handler_slot_index)); in RestoreOperandStack()
1479 Page* page = Page::FromAddress(inner_pointer); in GcSafeFindCodeForInnerPointer()
1492 HeapObject* obj = HeapObject::FromAddress(addr); in GcSafeFindCodeForInnerPointer()
Disolate.cc960 StackHandler::FromAddress(Isolate::handler(thread_local_top())); in ShouldReportException()
1188 StackHandler::FromAddress(Isolate::handler(thread_local_top())); in IsFinallyOnTop()
1296 StackHandler* handler = StackHandler::FromAddress(Isolate::handler(tltop)); in PushPromise()
1320 StackHandler* handler = StackHandler::FromAddress(Isolate::handler(tltop)); in GetPromiseOnStackOnThrow()
Dlog.cc524 Code* from_code = Code::cast(HeapObject::FromAddress(from)); in CodeMoveEvent()
537 reinterpret_cast<byte*>(HeapObject::FromAddress(to)) + header_size; in CodeMoveEvent()
544 Code* from_code = Code::cast(HeapObject::FromAddress(from)); in CodeDeleteEvent()
Dserialize.h304 return HeapObject::FromAddress(high_water_[space] - offset); in GetAddressFromEnd()
Dserialize.cc782 HeapObject* obj = HeapObject::FromAddress(address); in ReadObject()
904 Code::cast(HeapObject::FromAddress(current_object_address)), \ in ReadChunk()
1660 return Code::cast(HeapObject::FromAddress(copy)); in CloneCodeObject()
Dprofile-generator.cc599 Code* code = Code::cast(HeapObject::FromAddress(start)); in RecordTickSample()
Dframes.h110 static inline StackHandler* FromAddress(Address address);
Dobjects-inl.h1364 return HeapObject::FromAddress(reinterpret_cast<Address>(value_)); in ToForwardingAddress()
1381 MemoryChunk::FromAddress(reinterpret_cast<const byte*>(this))->heap(); in GetHeap()
1464 HeapObject* HeapObject::FromAddress(Address address) { in FromAddress() function
5019 HeapObject* code = HeapObject::FromAddress(address - Code::kHeaderSize); in GetCodeFromTargetAddress()
5031 FromAddress(Memory::Address_at(location_of_address) - Code::kHeaderSize); in GetObjectFromEntryAddress()

12