Lines Matching refs:MemoryChunk

103 class MemoryChunk;  variable
200 static inline void Clear(MemoryChunk* chunk);
294 class MemoryChunk {
441 static MemoryChunk* FromAddress(Address a) { in FromAddress()
442 return reinterpret_cast<MemoryChunk*>(OffsetFrom(a) & ~kAlignmentMask); in FromAddress()
445 static const MemoryChunk* FromAddress(const byte* a) { in FromAddress()
446 return reinterpret_cast<const MemoryChunk*>(OffsetFrom(a) & in FromAddress()
451 MemoryChunk::FromAddress(object->address())->IncrementLiveBytes(by); in IncrementLiveBytesFromGC()
455 static inline MemoryChunk* FromAnyPointerAddress(Heap* heap, Address addr);
467 MemoryChunk* chunk = MemoryChunk::FromAddress(mark - 1); in UpdateHighWaterMark()
480 MemoryChunk* next_chunk() { return next_chunk_.Value(); } in next_chunk()
482 MemoryChunk* prev_chunk() { return prev_chunk_.Value(); } in prev_chunk()
484 void set_next_chunk(MemoryChunk* next) { next_chunk_.SetValue(next); } in set_next_chunk()
486 void set_prev_chunk(MemoryChunk* prev) { prev_chunk_.SetValue(prev); } in set_prev_chunk()
640 if (IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR)) { in ResetProgressBar()
642 ClearFlag(MemoryChunk::HAS_PROGRESS_BAR); in ResetProgressBar()
683 void InsertAfter(MemoryChunk* other);
736 static MemoryChunk* Initialize(Heap* heap, Address base, size_t size,
781 AtomicValue<MemoryChunk*> next_chunk_;
783 AtomicValue<MemoryChunk*> prev_chunk_;
802 class Page : public MemoryChunk {
871 static inline Page* Initialize(Heap* heap, MemoryChunk* chunk,
946 class LargePage : public MemoryChunk {
957 static inline LargePage* Initialize(Heap* heap, MemoryChunk* chunk);
1043 STATIC_ASSERT(MemoryChunk::kSizeOffset == offsetof(MemoryChunk, size_));
1044 STATIC_ASSERT(MemoryChunk::kLiveBytesOffset ==
1045 offsetof(MemoryChunk, live_byte_count_));
1046 STATIC_ASSERT(MemoryChunk::kSlotsBufferOffset ==
1047 offsetof(MemoryChunk, slots_buffer_));
1048 STATIC_ASSERT(MemoryChunk::kWriteBarrierCounterOffset ==
1049 offsetof(MemoryChunk, write_barrier_counter_));
1052 STATIC_ASSERT(sizeof(MemoryChunk) <= MemoryChunk::kHeaderSize);
1053 STATIC_ASSERT(sizeof(LargePage) <= MemoryChunk::kHeaderSize);
1054 STATIC_ASSERT(sizeof(Page) <= MemoryChunk::kHeaderSize);
1115 DCHECK(IsAddressAligned(start, MemoryChunk::kAlignment)); in FreeBlock()
1120 DCHECK(IsAddressAligned(start, MemoryChunk::kAlignment)); in FreeBlock()
1228 void PreFreeMemory(MemoryChunk* chunk);
1231 void PerformFreeMemory(MemoryChunk* chunk);
1235 void Free(MemoryChunk* chunk);
1276 MemoryChunk* AllocateChunk(intptr_t reserve_area_size,
2070 MemoryChunk::UpdateHighWaterMark(allocation_info_.top()); in SetTopAndLimit()
2272 class NewSpacePage : public MemoryChunk {
2277 (1 << MemoryChunk::POINTERS_TO_HERE_ARE_INTERESTING) |
2278 (1 << MemoryChunk::POINTERS_FROM_HERE_ARE_INTERESTING) |
2279 (1 << MemoryChunk::SCAN_ON_SCAVENGE);
3210 inline MemoryChunk* next();