/external/v8/src/heap/ |
D | incremental-marking.cc | 55 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in RecordWriteFromCode() 57 if (counter < (MemoryChunk::kWriteBarrierCounterGranularity / 2)) { in RecordWriteFromCode() 59 MemoryChunk::kWriteBarrierCounterGranularity - in RecordWriteFromCode() 62 MemoryChunk::kWriteBarrierCounterGranularity); in RecordWriteFromCode() 130 MemoryChunk::IncrementLiveBytesFromGC(heap_obj->address(), in MarkObjectGreyDoNotEnqueue() 143 MemoryChunk::IncrementLiveBytesFromGC(heap_object->address(), size); in MarkBlackOrKeepGrey() 153 MemoryChunk::IncrementLiveBytesFromGC(heap_object->address(), size); in MarkBlackOrKeepBlack() 171 MemoryChunk* chunk = MemoryChunk::FromAddress(object->address()); in VisitFixedArrayIncremental() 176 chunk->SetFlag(MemoryChunk::HAS_PROGRESS_BAR); in VisitFixedArrayIncremental() 178 if (chunk->IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR)) { in VisitFixedArrayIncremental() [all …]
|
D | spaces-inl.h | 21 void Bitmap::Clear(MemoryChunk* chunk) { in Clear() 136 Page* Page::Initialize(Heap* heap, MemoryChunk* chunk, Executability executable, in Initialize() 157 void MemoryChunk::set_scan_on_scavenge(bool scan) { in set_scan_on_scavenge() 169 MemoryChunk* MemoryChunk::FromAnyPointerAddress(Heap* heap, Address addr) { in FromAnyPointerAddress() 170 MemoryChunk* maybe = reinterpret_cast<MemoryChunk*>( in FromAnyPointerAddress() 178 MemoryChunk* chunk = MemoryChunk::FromAddress(o->address()); in FromAnyPointerAddress() 189 void MemoryChunk::UpdateHighWaterMark(Address mark) { in UpdateHighWaterMark() 194 MemoryChunk* chunk = MemoryChunk::FromAddress(mark - 1); in UpdateHighWaterMark() 292 LargePage* LargePage::Initialize(Heap* heap, MemoryChunk* chunk) { in Initialize()
|
D | incremental-marking-inl.h | 21 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in BaseRecordWrite() 22 if (chunk->IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR)) { in BaseRecordWrite() 70 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in RecordWrites() 71 if (chunk->IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR)) { in RecordWrites() 88 MemoryChunk::IncrementLiveBytesFromGC(obj->address(), -obj_size); in BlackToGreyAndUnshift()
|
D | spaces.cc | 128 MemoryChunk::kAlignment); in SetUp() 198 size_t aligned_requested = RoundUp(requested_size, MemoryChunk::kAlignment); in AllocateRawMemory() 207 DCHECK(IsAddressAligned(current.start, MemoryChunk::kAlignment)); in AllocateRawMemory() 234 DCHECK(IsAddressAligned(address, MemoryChunk::kAlignment)); in FreeRawMemory() 403 MemoryChunk* chunk = in Initialize() 404 MemoryChunk::Initialize(heap, start, Page::kPageSize, area_start, in Initialize() 410 chunk->SetFlag(in_to_space ? MemoryChunk::IN_TO_SPACE in Initialize() 411 : MemoryChunk::IN_FROM_SPACE); in Initialize() 412 DCHECK(!chunk->IsFlagSet(in_to_space ? MemoryChunk::IN_FROM_SPACE in Initialize() 413 : MemoryChunk::IN_TO_SPACE)); in Initialize() [all …]
|
D | store-buffer.cc | 146 MemoryChunk* chunk; in EnsureSpace() 155 Filter(MemoryChunk::SCAN_ON_SCAVENGE); in EnsureSpace() 186 MemoryChunk* chunk; in ExemptPopularPages() 191 MemoryChunk* previous_chunk = NULL; in ExemptPopularPages() 194 MemoryChunk* containing_chunk = NULL; in ExemptPopularPages() 198 containing_chunk = MemoryChunk::FromAnyPointerAddress(heap_, addr); in ExemptPopularPages() 209 Filter(MemoryChunk::SCAN_ON_SCAVENGE); in ExemptPopularPages() 217 MemoryChunk* previous_chunk = NULL; in Filter() 220 MemoryChunk* containing_chunk = NULL; in Filter() 224 containing_chunk = MemoryChunk::FromAnyPointerAddress(heap_, addr); in Filter() [all …]
|
D | mark-compact-inl.h | 17 MemoryChunk* p = MemoryChunk::FromAddress(addr); in MarkBitFrom() 34 MemoryChunk::IncrementLiveBytesFromGC(obj->address(), obj->Size()); in MarkObject() 46 MemoryChunk::IncrementLiveBytesFromGC(obj->address(), obj->Size()); in SetMark()
|
D | spaces.h | 99 class MemoryChunk; variable 196 static inline void Clear(MemoryChunk* chunk); 273 class MemoryChunk { 276 static MemoryChunk* FromAddress(Address a) { in FromAddress() 277 return reinterpret_cast<MemoryChunk*>(OffsetFrom(a) & ~kAlignmentMask); in FromAddress() 279 static const MemoryChunk* FromAddress(const byte* a) { in FromAddress() 280 return reinterpret_cast<const MemoryChunk*>(OffsetFrom(a) & in FromAddress() 285 static inline MemoryChunk* FromAnyPointerAddress(Heap* heap, Address addr); 291 MemoryChunk* next_chunk() const { in next_chunk() 292 return reinterpret_cast<MemoryChunk*>(base::Acquire_Load(&next_chunk_)); in next_chunk() [all …]
|
D | incremental-marking.h | 130 inline void SetOldSpacePageFlags(MemoryChunk* chunk) { in SetOldSpacePageFlags() 185 static void SetOldSpacePageFlags(MemoryChunk* chunk, bool is_marking,
|
D | heap-inl.h | 279 MemoryChunk* memory_chunk = MemoryChunk::FromAddress(object_address); in UpdateAllocationsHash() 373 return page->IsFlagSet(MemoryChunk::NEW_SPACE_BELOW_AGE_MARK) && in ShouldBePromoted() 444 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in AllowedToBeMigrated()
|
D | store-buffer-inl.h | 47 (*callback_)(heap_, MemoryChunk::FromAnyPointerAddress(heap_, addr), in EnterDirectlyIntoStoreBuffer()
|
D | mark-compact.h | 173 MemoryChunk::IncrementLiveBytesFromGC(object->address(), -object->Size()); in INLINE() 899 explicit MarkBitCellIterator(MemoryChunk* chunk) : chunk_(chunk) { in MarkBitCellIterator() 930 MemoryChunk* chunk_;
|
D | heap.cc | 1302 void Heap::ScavengeStoreBufferCallback(Heap* heap, MemoryChunk* page, in ScavengeStoreBufferCallback() 1308 void StoreBufferRebuilder::Callback(MemoryChunk* page, StoreBufferEvent event) { in Callback() 1362 DCHECK((Page::kPageSize - MemoryChunk::kBodyOffset) % (2 * kPointerSize) == in Initialize() 1943 MemoryChunk::IncrementLiveBytesFromGC(target->address(), size); in INLINE() 2332 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in AllocateFillerObject() 3253 MemoryChunk::IncrementLiveBytesFromGC(address, by); in AdjustLiveBytes() 3255 MemoryChunk::IncrementLiveBytesFromMutator(address, by); in AdjustLiveBytes() 3440 MemoryChunk::FromAddress(address)->owner()->identity() != LO_SPACE) { in AllocateCode() 6019 void Heap::QueueMemoryChunkForFree(MemoryChunk* chunk) { in QueueMemoryChunkForFree() 6027 MemoryChunk* next; in FreeQueuedChunks() [all …]
|
D | mark-compact.cc | 653 DCHECK(MemoryChunk::FromAddress(old_start) == in TransferMark() 654 MemoryChunk::FromAddress(new_start)); in TransferMark() 925 p->ClearFlag(MemoryChunk::RESCAN_ON_EVACUATION); in AbortCompaction() 1890 MemoryChunk::IncrementLiveBytesFromGC(object->address(), object->Size()); in DiscoverGreyObjectsWithIterator() 1902 MemoryChunk* p) { in DiscoverGreyObjectsOnPage() 1935 MemoryChunk::IncrementLiveBytesFromGC(object->address(), object->Size()); in DiscoverGreyObjectsOnPage() 3176 MemoryChunk::SWEEPING_DONE); in EvacuatePages() 3379 p->set_parallel_sweeping(MemoryChunk::SWEEPING_FINALIZE); in Sweep() 3397 uint32_t start_index = MemoryChunk::FastAddressToMarkbitIndex(code_start); in SetMarkBitsUnderInvalidatedCode() 3399 MemoryChunk::FastAddressToMarkbitIndex(code_end - kPointerSize); in SetMarkBitsUnderInvalidatedCode() [all …]
|
D | heap.h | 354 void Callback(MemoryChunk* page, StoreBufferEvent event); 365 MemoryChunk* current_page_; 1225 void QueueMemoryChunkForFree(MemoryChunk* chunk); 1849 static void ScavengeStoreBufferCallback(Heap* heap, MemoryChunk* page, 2019 MemoryChunk* chunks_queued_for_free_;
|
/external/v8/test/cctest/ |
D | test-spaces.cc | 165 : MemoryChunk::kObjectStartOffset; in VerifyMemoryChunk() 170 MemoryChunk* memory_chunk = memory_allocator->AllocateChunk(reserve_area_size, in VerifyMemoryChunk() 175 MemoryChunk::kAlignment : v8::base::OS::CommitPageSize(); in VerifyMemoryChunk() 240 TEST(MemoryChunk) { in TEST() argument
|
D | test-constantpool.cc | 256 MemoryChunk::FromAddress(array->address())->set_scan_on_scavenge(true); in TEST()
|
/external/v8/src/x87/ |
D | macro-assembler-x87.cc | 138 DCHECK(MemoryChunk::IN_FROM_SPACE < 8); in InNewSpace() 139 DCHECK(MemoryChunk::IN_TO_SPACE < 8); in InNewSpace() 140 int mask = (1 << MemoryChunk::IN_FROM_SPACE) in InNewSpace() 141 | (1 << MemoryChunk::IN_TO_SPACE); in InNewSpace() 143 test_b(Operand(scratch, MemoryChunk::kFlagsOffset), in InNewSpace() 406 MemoryChunk::kPointersToHereAreInterestingMask, in RecordWriteForMap() 465 MemoryChunk::kPointersToHereAreInterestingMask, in RecordWrite() 472 MemoryChunk::kPointersFromHereAreInterestingMask, in RecordWrite() 3034 test_b(Operand(scratch, MemoryChunk::kFlagsOffset), in CheckPageFlag() 3037 test(Operand(scratch, MemoryChunk::kFlagsOffset), Immediate(mask)); in CheckPageFlag() [all …]
|
/external/v8/src/ia32/ |
D | macro-assembler-ia32.cc | 138 DCHECK(MemoryChunk::IN_FROM_SPACE < 8); in InNewSpace() 139 DCHECK(MemoryChunk::IN_TO_SPACE < 8); in InNewSpace() 140 int mask = (1 << MemoryChunk::IN_FROM_SPACE) in InNewSpace() 141 | (1 << MemoryChunk::IN_TO_SPACE); in InNewSpace() 143 test_b(Operand(scratch, MemoryChunk::kFlagsOffset), in InNewSpace() 483 MemoryChunk::kPointersToHereAreInterestingMask, in RecordWriteForMap() 546 MemoryChunk::kPointersToHereAreInterestingMask, in RecordWrite() 553 MemoryChunk::kPointersFromHereAreInterestingMask, in RecordWrite() 3074 test_b(Operand(scratch, MemoryChunk::kFlagsOffset), in CheckPageFlag() 3077 test(Operand(scratch, MemoryChunk::kFlagsOffset), Immediate(mask)); in CheckPageFlag() [all …]
|
/external/v8/src/ |
D | globals.h | 310 class MemoryChunk; variable 501 MemoryChunk* page,
|
D | deoptimizer.h | 644 MemoryChunk* deopt_entry_code_[Deoptimizer::kBailoutTypesWithCodeEntry];
|
/external/v8/src/arm/ |
D | macro-assembler-arm.cc | 540 MemoryChunk::kPointersToHereAreInterestingMask, in RecordWriteForMap() 614 MemoryChunk::kPointersToHereAreInterestingMask, in RecordWrite() 620 MemoryChunk::kPointersFromHereAreInterestingMask, in RecordWrite() 3650 ldr(scratch, MemOperand(scratch, MemoryChunk::kFlagsOffset)); in CheckPageFlag() 3688 ldr(ip, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in HasColor() 3699 ldr(ip, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize + kPointerSize)); in HasColor() 3760 ldr(load_scratch, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in EnsureNotWhite() 3821 ldr(ip, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in EnsureNotWhite() 3823 str(ip, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in EnsureNotWhite() 3826 ldr(ip, MemOperand(bitmap_scratch, MemoryChunk::kLiveBytesOffset)); in EnsureNotWhite() [all …]
|
/external/v8/src/arm64/ |
D | macro-assembler-arm64.cc | 4337 Ldr(scratch, MemOperand(scratch, MemoryChunk::kFlagsOffset)); in CheckPageFlagSet() 4347 Ldr(scratch, MemOperand(scratch, MemoryChunk::kFlagsOffset)); in CheckPageFlagClear() 4445 MemoryChunk::kPointersToHereAreInterestingMask, in RecordWriteForMap() 4514 MemoryChunk::kPointersToHereAreInterestingMask, in RecordWrite() 4519 MemoryChunk::kPointersFromHereAreInterestingMask, in RecordWrite() 4595 Ldr(bitmap_scratch, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in HasColor() 4708 Ldr(load_scratch, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in EnsureNotWhite() 4771 Ldr(load_scratch, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in EnsureNotWhite() 4773 Str(load_scratch, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in EnsureNotWhite() 4776 Ldr(load_scratch, MemOperand(bitmap_scratch, MemoryChunk::kLiveBytesOffset)); in EnsureNotWhite() [all …]
|
/external/v8/src/mips/ |
D | macro-assembler-mips.cc | 254 MemoryChunk::kPointersToHereAreInterestingMask, in RecordWriteForMap() 331 MemoryChunk::kPointersToHereAreInterestingMask, in RecordWrite() 337 MemoryChunk::kPointersFromHereAreInterestingMask, in RecordWrite() 5616 lw(scratch, MemOperand(scratch, MemoryChunk::kFlagsOffset)); in CheckPageFlag() 5655 lw(t9, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in HasColor() 5666 lw(t9, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize + kPointerSize)); in HasColor() 5729 lw(load_scratch, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in EnsureNotWhite() 5806 lw(t8, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in EnsureNotWhite() 5808 sw(t8, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in EnsureNotWhite() 5811 lw(t8, MemOperand(bitmap_scratch, MemoryChunk::kLiveBytesOffset)); in EnsureNotWhite() [all …]
|
/external/v8/src/x64/ |
D | macro-assembler-x64.cc | 419 MemoryChunk::kPointersToHereAreInterestingMask, in RecordWriteForMap() 481 MemoryChunk::kPointersToHereAreInterestingMask, in RecordWrite() 489 MemoryChunk::kPointersFromHereAreInterestingMask, in RecordWrite() 5048 testb(Operand(scratch, MemoryChunk::kFlagsOffset), in CheckPageFlag() 5051 testl(Operand(scratch, MemoryChunk::kFlagsOffset), Immediate(mask)); in CheckPageFlag() 5085 andp(rcx, Operand(bitmap_scratch, MemoryChunk::kHeaderSize)); in JumpIfBlack() 5157 testp(Operand(bitmap_scratch, MemoryChunk::kHeaderSize), mask_scratch); in EnsureNotWhite() 5166 testp(Operand(bitmap_scratch, MemoryChunk::kHeaderSize), mask_scratch); in EnsureNotWhite() 5225 orp(Operand(bitmap_scratch, MemoryChunk::kHeaderSize), mask_scratch); in EnsureNotWhite() 5228 addl(Operand(bitmap_scratch, MemoryChunk::kLiveBytesOffset), length); in EnsureNotWhite()
|
/external/v8/src/mips64/ |
D | macro-assembler-mips64.cc | 257 MemoryChunk::kPointersToHereAreInterestingMask, in RecordWriteForMap() 334 MemoryChunk::kPointersToHereAreInterestingMask, in RecordWrite() 340 MemoryChunk::kPointersFromHereAreInterestingMask, in RecordWrite() 5599 ld(scratch, MemOperand(scratch, MemoryChunk::kFlagsOffset)); in CheckPageFlag() 5639 Uld(t9, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in HasColor() 5712 Uld(load_scratch, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in EnsureNotWhite() 5791 Uld(t8, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in EnsureNotWhite() 5793 Usd(t8, MemOperand(bitmap_scratch, MemoryChunk::kHeaderSize)); in EnsureNotWhite() 5796 Uld(t8, MemOperand(bitmap_scratch, MemoryChunk::kLiveBytesOffset)); in EnsureNotWhite() 5798 Usd(t8, MemOperand(bitmap_scratch, MemoryChunk::kLiveBytesOffset)); in EnsureNotWhite()
|