Lines Matching refs:heap

14 #include "src/heap/allocation-observer.h"
15 #include "src/heap/base-space.h"
16 #include "src/heap/base/active-system-pages.h"
17 #include "src/heap/basic-memory-chunk.h"
18 #include "src/heap/free-list.h"
19 #include "src/heap/heap.h"
20 #include "src/heap/linear-allocation-area.h"
21 #include "src/heap/list.h"
22 #include "src/heap/memory-chunk-layout.h"
23 #include "src/heap/memory-chunk.h"
24 #include "src/heap/slot-set.h"
33 namespace heap {
36 } // namespace heap
50 // A JS heap consists of a young generation, an old generation, and a large
69 // buffer overflow) iterate intergenerational pointers without decoding heap
73 // the Heap::InNewSpace() predicate must be a pointer to a live heap object in
115 Space(Heap* heap, AllocationSpace id, FreeList* free_list)
116 : BaseSpace(heap, id),
161 virtual std::unique_ptr<ObjectIterator> GetObjectIterator(Heap* heap) = 0;
169 // Returns amount of off-heap memory in-use by objects in this Space.
185 heap::List<MemoryChunk>& memory_chunk_list() { return memory_chunk_list_; }
204 heap::List<MemoryChunk> memory_chunk_list_;
206 // Tracks off-heap memory used by this space.
228 Page(Heap* heap, BaseSpace* space, size_t size, Address area_start,
342 // Interface for heap object iterator to be implemented by all object space
403 // LocalAllocationBuffer a(heap, result, size);
423 static inline LocalAllocationBuffer FromResult(Heap* heap,
457 Heap* heap, LinearAllocationArea allocation_info) V8_NOEXCEPT;
465 SpaceWithLinearArea(Heap* heap, AllocationSpace id, FreeList* free_list,
467 : Space(heap, id, free_list), allocation_info_(allocation_info) {}
573 // Iterates over all memory chunks in the heap (across all spaces).
576 explicit MemoryChunkIterator(Heap* heap) : space_iterator_(heap) {}