Home
last modified time | relevance | path

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

12

/external/v8/src/heap/
Dspaces-inl.h31 : begin_(Page::FromAddress(start)), in PageRange()
52 HeapObject* object = HeapObject::FromAddress(current_); in Next()
78 HeapObject* obj = HeapObject::FromAddress(cur_addr_); in FromCurrentPage()
100 ? MemoryChunk::FromAddress(o->address())->InToSpace() in Contains()
101 : MemoryChunk::FromAddress(o->address())->InFromSpace(); in Contains()
110 if (p == MemoryChunk::FromAddress(a)) return true; in ContainsSlow()
119 return MemoryChunk::FromAddress(o->address())->InNewSpace(); in Contains()
148 return Page::FromAddress(HeapObject::cast(o)->address())->owner() == this; in Contains()
187 chunk = MemoryChunk::FromAddress(addr); in FromAnyPointerAddress()
276 return heap_->PrecedeWithFiller(HeapObject::FromAddress(current_top), in AllocateRawAligned()
[all …]
Darray-buffer-tracker.cc33 Page* old_page = Page::FromAddress(old_buffer->address()); in Process()
39 Page* target_page = Page::FromAddress(new_buffer->address()); in Process()
123 Page* page = Page::FromAddress(buffer->address()); in IsTracked()
Dmark-compact-inl.h278 MemoryChunk* chunk = MemoryChunk::FromAddress(object->address()); in VisitFixedArrayIncremental()
396 Page* target_page = Page::FromAddress(reinterpret_cast<Address>(target)); in RecordSlot()
397 Page* source_page = Page::FromAddress(reinterpret_cast<Address>(object)); in RecordSlot()
462 DCHECK(HeapObject::FromAddress(addr)->map() == one_word_filler_map_); in AdvanceToNextValidObject()
477 HeapObject* black_object = HeapObject::FromAddress(addr); in AdvanceToNextValidObject()
487 DCHECK_EQ(chunk_, MemoryChunk::FromAddress(end)); in AdvanceToNextValidObject()
508 object = HeapObject::FromAddress(addr); in AdvanceToNextValidObject()
Dincremental-marking.cc45 HeapObject* object = HeapObject::FromAddress(addr); in Step()
51 Page::FromAddress(addr)->CreateBlackArea(addr, addr + size); in Step()
151 DCHECK(MemoryChunk::FromAddress(from->address())->SweepingDone()); in NotifyLeftTrimming()
152 DCHECK_EQ(MemoryChunk::FromAddress(from->address()), in NotifyLeftTrimming()
153 MemoryChunk::FromAddress(to->address())); in NotifyLeftTrimming()
606 Page::FromAddress(obj->address())->IsFlagSet(Page::SWEEP_TO_ITERATE)); in UpdateMarkingWorklistAfterScavenge()
617 if (Page::FromAddress(obj->address()) in UpdateMarkingWorklistAfterScavenge()
730 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in IsFixedArrayWithProgressBar()
763 Page* page = Page::FromAddress(obj->address()); in RevisitObject()
Dheap-inl.h266 MemoryChunk* memory_chunk = MemoryChunk::FromAddress(object_address); in UpdateAllocationsHash()
424 Page* page = Page::FromAddress(old_address); in ShouldBePromoted()
444 HeapObject* candidate = HeapObject::FromAddress(memento_address); in FindAllocationMemento()
456 Page* object_page = Page::FromAddress(object_address); in FindAllocationMemento()
501 (InToSpace(object) && Page::FromAddress(object->address()) in UpdateAllocationSite()
503 (!InNewSpace(object) && Page::FromAddress(object->address()) in UpdateAllocationSite()
Darray-buffer-tracker-inl.h22 Page* page = Page::FromAddress(buffer->address()); in RegisterNew()
44 Page* page = Page::FromAddress(buffer->address()); in Unregister()
Dmark-compact.h33 return MarkBitFrom(MemoryChunk::FromAddress(obj->address()), in MarkBitFrom()
75 MemoryChunk* p = MemoryChunk::FromAddress(obj->address()); in GreyToBlack()
356 return Bitmap::FromAddress(chunk->address() + MemoryChunk::kHeaderSize); in bitmap()
377 return Bitmap::FromAddress(chunk->address() + MemoryChunk::kHeaderSize); in bitmap()
398 return Bitmap::FromAddress(chunk->address() + MemoryChunk::kHeaderSize); in bitmap()
609 return Page::FromAddress(reinterpret_cast<Address>(obj)) in IsOnEvacuationCandidate()
614 return Page::FromAddress(reinterpret_cast<Address>(obj)) in IsOnEvacuationCandidate()
Dspaces.cc639 MemoryChunk* chunk = FromAddress(base); in Initialize()
1002 filler = HeapObject::FromAddress(addr); in AllocateChunk()
1019 HeapObject* filler = HeapObject::FromAddress(HighWaterMark()); in AllocateChunk()
1053 DCHECK_EQ(Page::FromAddress(start), this); in AllocateChunk()
1055 DCHECK_EQ(Page::FromAddress(end - 1), this); in AllocateChunk()
1065 DCHECK_EQ(Page::FromAddress(start), this); in AllocateChunk()
1067 DCHECK_EQ(Page::FromAddress(end - 1), this); in AllocateChunk()
1624 Page* p = Page::FromAddress(addr); in AllocateChunk()
1867 MemoryChunk::FromAddress(current_top)); in AllocateChunk()
1917 DCHECK_EQ(Page::FromAddress(top()), Page::FromAddress(limit() - 1)); in AllocateChunk()
[all …]
Dstore-buffer.cc102 Page* page = Page::FromAddress(start); in DeleteDuringGarbageCollection()
114 RememberedSet<OLD_TO_NEW>::Insert(Page::FromAddress(slot), slot); in InsertDuringGarbageCollection()
Dinvalidated-slots-inl.h49 invalidated_object_ = HeapObject::FromAddress(invalidated_start_); in IsValid()
Dheap.cc930 MemoryChunk* chunk = MemoryChunk::FromAddress(code->address()); in InvalidateCodeEmbeddedObjects()
936 MemoryChunk* chunk = MemoryChunk::FromAddress(code->address()); in InvalidateCodeDeoptimizationData()
1309 Page* page = Page::FromAddress(to_top - kPointerSize); in EnsureFillerObjectAtTop()
2261 UnprotectAndRegisterMemoryChunk(MemoryChunk::FromAddress(object->address())); in UnprotectAndRegisterMemoryChunk()
2325 Page::FromAddress(reinterpret_cast<Address>(*p)), in UpdateNewSpaceReferenceInExternalStringTableEntry()
2611 return HeapObject::FromAddress(object->address() + filler_size); in PrecedeWithFiller()
2805 HeapObject* filler = HeapObject::FromAddress(addr); in CreateFillerObjectAt()
2852 return Page::FromAddress(address)->SweepingDone(); in CanMoveObjectStart()
2856 MemoryChunk* chunk = MemoryChunk::FromAddress(object->address()); in IsImmovable()
2928 object, HeapObject::FromAddress(new_start)); in LeftTrimFixedArray()
[all …]
Dspaces.h418 static MemoryChunk* FromAddress(Address a) { in FromAddress() function
437 MemoryChunk* chunk = MemoryChunk::FromAddress(mark - 1); in UpdateHighWaterMark()
777 static Page* FromAddress(Address addr) { in FromAddress() function
790 return Page::FromAddress(address - kPointerSize); in FromAllocationAreaAddress()
795 return Page::FromAddress(address1) == Page::FromAddress(address2); in OnSamePage()
901 HeapObject* GetObject() { return HeapObject::FromAddress(area_start()); } in GetObject()
1218 Page* page = Page::FromAddress(addr); in Update()
2203 Page* page = Page::FromAddress(start); in NON_EXPORTED_BASE()
2321 Page::FromAddress(top) == Page::FromAddress(limit - 1)); in NON_EXPORTED_BASE()
Dmark-compact.cc103 object = HeapObject::FromAddress(current); in VerifyMarkingOnPage()
255 HeapObject* object = HeapObject::FromAddress(current); in VerifyEvacuationOnPage()
511 MemoryChunk::FromAddress(obj->address()))); in VerifyMarkbitsAreClean()
1116 Page* p = Page::FromAddress(reinterpret_cast<Address>(value)); in RecordMigratedSlot()
1121 Page::FromAddress(slot), slot); in RecordMigratedSlot()
1124 Page::FromAddress(slot), slot); in RecordMigratedSlot()
1254 Page* page = Page::FromAddress(object->address()); in AbortCompactionForTesting()
1419 Page::FromAddress(object->address())->owner()->identity(), object, in Visit()
2123 Page* target_page = Page::FromAddress(reinterpret_cast<Address>(target)); in RecordRelocSlot()
2124 Page* source_page = Page::FromAddress(reinterpret_cast<Address>(host)); in RecordRelocSlot()
[all …]
Dconcurrent-marking.cc37 return Bitmap::FromAddress(chunk->address() + MemoryChunk::kHeaderSize); in bitmap()
110 MemoryChunk* chunk = MemoryChunk::FromAddress(heap_object->address()); in ProcessWeakHeapObject()
396 MemoryChunk* chunk = MemoryChunk::FromAddress(object->address()); in MarkObject()
Dscavenger.cc65 RememberedSet<OLD_TO_NEW>::Insert(Page::FromAddress(slot_address), in HandleSlot()
Dmarking.h133 V8_INLINE static Bitmap* FromAddress(Address addr) { in FromAddress() function
Dscavenger-inl.h42 MemoryChunk* chunk = MemoryChunk::FromAddress(heap_object->address()); in PageMemoryFence()
/external/v8/src/snapshot/
Ddefault-deserializer-allocator.cc69 obj = HeapObject::FromAddress(address); in Allocate()
100 return HeapObject::FromAddress(allocated_maps_[index]); in GetMap()
117 DCHECK(padding == 0 || HeapObject::FromAddress(address)->IsFiller()); in GetObject()
120 return HeapObject::FromAddress(address); in GetObject()
Ddeserializer.cc302 obj = HeapObject::FromAddress(address); in GetBackReferencedObject()
339 HeapObject* obj = HeapObject::FromAddress(address); in ReadObject()
530 Code::cast(HeapObject::FromAddress(current_object_address)); in ReadData()
563 Code::cast(HeapObject::FromAddress(current_object_address)), in ReadData()
588 HeapObject* obj = HeapObject::FromAddress(current_object_address); in ReadData()
717 GenerationalBarrier(HeapObject::FromAddress(current_object_address), in ReadData()
778 Code::cast(HeapObject::FromAddress(current_object_address)), address); in ReadExternalReferenceCase()
861 Code::cast(HeapObject::FromAddress(current_object_address)), in ReadDataCase()
877 GenerationalBarrier(HeapObject::FromAddress(current_object_address), in ReadDataCase()
Dbuiltin-deserializer-allocator.cc126 HeapObject::FromAddress(chunk.start)); in InitializeBuiltinFromReservation()
Dserializer.cc358 return Code::cast(HeapObject::FromAddress( in CopyCode()
653 MemoryChunk::FromAddress(object_->address())->owner()->identity(); in SerializeObject()
/external/v8/src/
Dsimulator.h92 static GeneratedCode FromAddress(Isolate* isolate, Address addr) { in FromAddress() function
101 return FromAddress(code->GetIsolate(), code->entry()); in FromCode()
Dframes-inl.h24 return FromAddress(Memory<Address>(address() + offset)); in next()
28 inline StackHandler* StackHandler::FromAddress(Address address) { in FromAddress() function
/external/v8/src/objects/
Dcode-inl.h552 HeapObject* code = HeapObject::FromAddress(address - Code::kHeaderSize); in GetCodeFromTargetAddress()
562 return HeapObject::FromAddress(code_entry - Code::kHeaderSize); in GetObjectFromCodeEntry()
/external/v8/src/profiler/
Dsampling-heap-profiler.cc87 HeapObject* heap_object = HeapObject::FromAddress(soon_object); in SampleObject()

12