Lines Matching full:allocate
39 …object = reinterpret_cast<TaggedObject *>((space)->Allocate(size)); …
133 auto object = reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in AllocateYoungOrHugeObject()
136 object = reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in AllocateYoungOrHugeObject()
139 object = reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in AllocateYoungOrHugeObject()
175 auto object = reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in TryAllocateYoungGeneration()
194 auto object = reinterpret_cast<TaggedObject *>(oldSpace_->Allocate(size)); in AllocateOldOrHugeObject()
213 auto object = reinterpret_cast<TaggedObject *>(readOnlySpace_->Allocate(size)); in AllocateReadOnlyOrHugeObject()
232 auto object = reinterpret_cast<TaggedObject *>(nonMovableSpace_->Allocate(size)); in AllocateNonMovableOrHugeObject()
242 auto object = reinterpret_cast<TaggedObject *>(nonMovableSpace_->Allocate(size)); in AllocateClassClass()
244 LOG_ECMA_MEM(FATAL) << "Heap::AllocateClassClass can not allocate any space"; in AllocateClassClass()
257 auto *object = reinterpret_cast<TaggedObject *>(hugeObjectSpace_->Allocate(size, thread_)); in AllocateHugeObject()
260 object = reinterpret_cast<TaggedObject *>(hugeObjectSpace_->Allocate(size, thread_)); in AllocateHugeObject()
262 // if allocate huge object OOM, temporarily increase space size to avoid vm crash in AllocateHugeObject()
265 object = reinterpret_cast<TaggedObject *>(hugeObjectSpace_->Allocate(size, thread_)); in AllocateHugeObject()
288 auto object = reinterpret_cast<TaggedObject *>(machineCodeSpace_->Allocate(size)); in AllocateMachineCodeObject()
298 uintptr_t object = snapshotSpace_->Allocate(size); in AllocateSnapshotSpace()