15 new_space_(
heap->new_space()),
16 compaction_spaces_(
heap, compaction_space_kind) {
27 shared_space_allocator_.emplace(heap, compaction_spaces_.Get(SHARED_SPACE),
28 MainAllocator::kInGC);
57 if (!allocator->TryFreeLast(
object.address(), object_size)) {
CompactionSpace * Get(AllocationSpace space)
std::optional< MainAllocator > trusted_space_allocator_
void FreeLastInMainAllocator(MainAllocator *allocator, Tagged< HeapObject > object, int object_size)
MainAllocator * trusted_space_allocator()
MainAllocator * old_space_allocator()
std::optional< MainAllocator > shared_space_allocator_
EvacuationAllocator(Heap *heap, CompactionSpaceKind compaction_space_kind)
MainAllocator * new_space_allocator()
std::optional< MainAllocator > old_space_allocator_
NewSpace *const new_space_
MainAllocator * shared_space_allocator()
CompactionSpaceCollection compaction_spaces_
std::optional< MainAllocator > code_space_allocator_
void FreeLast(AllocationSpace space, Tagged< HeapObject > object, int object_size)
MainAllocator * code_space_allocator()
std::optional< MainAllocator > new_space_allocator_
MainAllocator * new_space_allocator()
V8_EXPORT_PRIVATE void CreateFillerObjectAt(Address addr, int size, ClearFreedMemoryMode clear_memory_mode=ClearFreedMemoryMode::kDontClearFreedMemory)
OldSpace * old_space() const
TrustedSpace * trusted_space() const
CodeSpace * code_space() const
PagedSpace * shared_allocation_space() const
Isolate * isolate() const
HeapAllocator * allocator()
bool has_shared_space() const
static constexpr InGCTag kInGC
V8_INLINE bool IsLabValid() const
V8_EXPORT_PRIVATE void FreeLinearAllocationArea()
void MergeCompactionSpace(CompactionSpace *other)
#define ALIGN_TO_ALLOCATION_ALIGNMENT(value)
#define DCHECK_IMPLIES(v1, v2)
#define DCHECK(condition)