/external/v8/test/cctest/heap/ |
D | test-compaction.cc | 27 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 …]
|
D | test-lab.cc | 32 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 …]
|
D | test-array-buffer-tracker.cc | 43 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()
|
D | test-page-promotion.cc | 47 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()
|
D | test-spaces.cc | 42 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);
|
D | test-heap.cc | 794 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 …]
|
D | test-mark-compact.cc | 64 s.Push(HeapObject::FromAddress(current_address)); in TEST()
|
/external/v8/src/heap/ |
D | spaces-inl.h | 32 : 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 …]
|
D | mark-compact-inl.h | 61 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()
|
D | array-buffer-tracker-inl.h | 18 Page* page = Page::FromAddress(buffer->address()); in RegisterNew() 39 Page* page = Page::FromAddress(buffer->address()); in Unregister()
|
D | array-buffer-tracker.cc | 48 Page* target_page = Page::FromAddress(new_buffer->address()); in Process() 126 Page* page = Page::FromAddress(buffer->address()); in IsTracked()
|
D | mark-compact.cc | 110 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 …]
|
D | heap-inl.h | 322 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()
|
D | spaces.h | 196 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 …]
|
D | mark-compact.h | 34 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()
|
D | incremental-marking.cc | 81 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()
|
D | spaces.cc | 500 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 …]
|
D | heap.cc | 942 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/ |
D | deserializer.cc | 324 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()
|
D | serializer.cc | 309 return Code::cast(HeapObject::FromAddress(&code_buffer_.first())); in CopyCode() 490 MemoryChunk::FromAddress(object_->address())->owner()->identity(); in Serialize()
|
/external/v8/src/ |
D | frames-inl.h | 46 return FromAddress(Memory::Address_at(address() + offset)); in next() 50 inline StackHandler* StackHandler::FromAddress(Address address) { in FromAddress() function
|
D | frames.cc | 106 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/ |
D | test-slots-buffer.cc | 107 Page* page = Page::FromAddress(valid_object->address()); in TEST()
|
D | test-unboxed-doubles.cc | 918 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/ |
D | sampling-heap-profiler.cc | 100 HeapObject* heap_object = HeapObject::FromAddress(soon_object); in SampleObject()
|