Lines Matching full:object
107 auto object = reinterpret_cast<TaggedObject *>(toSpace_->Allocate(size)); in AllocateYoungOrHugeObject() local
108 if (object == nullptr) { in AllocateYoungOrHugeObject()
110 object = reinterpret_cast<TaggedObject *>(toSpace_->Allocate(size)); in AllocateYoungOrHugeObject()
111 if (object == nullptr) { in AllocateYoungOrHugeObject()
113 object = reinterpret_cast<TaggedObject *>(toSpace_->Allocate(size)); in AllocateYoungOrHugeObject()
114 if (UNLIKELY(object == nullptr)) { in AllocateYoungOrHugeObject()
121 object->SetClass(hclass); in AllocateYoungOrHugeObject()
122 OnAllocateEvent(reinterpret_cast<uintptr_t>(object)); in AllocateYoungOrHugeObject()
123 return object; in AllocateYoungOrHugeObject()
147 auto object = reinterpret_cast<TaggedObject *>(toSpace_->Allocate(size)); in TryAllocateYoungGeneration() local
148 if (object != nullptr) { in TryAllocateYoungGeneration()
149 object->SetClass(hclass); in TryAllocateYoungGeneration()
151 return object; in TryAllocateYoungGeneration()
166 auto object = reinterpret_cast<TaggedObject *>(oldSpace_->Allocate(size)); in AllocateOldOrHugeObject() local
167 if (UNLIKELY(object == 0)) { in AllocateOldOrHugeObject()
171 object->SetClass(hclass); in AllocateOldOrHugeObject()
172 OnAllocateEvent(reinterpret_cast<uintptr_t>(object)); in AllocateOldOrHugeObject()
173 return object; in AllocateOldOrHugeObject()
188 auto object = reinterpret_cast<TaggedObject *>(nonMovableSpace_->Allocate(size)); in AllocateNonMovableOrHugeObject() local
189 if (UNLIKELY(object == nullptr)) { in AllocateNonMovableOrHugeObject()
193 object->SetClass(hclass); in AllocateNonMovableOrHugeObject()
194 OnAllocateEvent(reinterpret_cast<uintptr_t>(object)); in AllocateNonMovableOrHugeObject()
195 return object; in AllocateNonMovableOrHugeObject()
201 auto object = reinterpret_cast<TaggedObject *>(nonMovableSpace_->Allocate(size)); in AllocateDynClassClass() local
202 if (UNLIKELY(object == nullptr)) { in AllocateDynClassClass()
205 *reinterpret_cast<MarkWordType *>(ToUintPtr(object)) = reinterpret_cast<MarkWordType>(hclass); in AllocateDynClassClass()
206 OnAllocateEvent(reinterpret_cast<uintptr_t>(object)); in AllocateDynClassClass()
207 return object; in AllocateDynClassClass()
212 auto *object = reinterpret_cast<TaggedObject *>(hugeObjectSpace_->Allocate(size)); in AllocateHugeObject() local
213 if (UNLIKELY(object == nullptr)) { in AllocateHugeObject()
215 object = reinterpret_cast<TaggedObject *>(hugeObjectSpace_->Allocate(size)); in AllocateHugeObject()
216 if (UNLIKELY(object == nullptr)) { in AllocateHugeObject()
220 object->SetClass(hclass); in AllocateHugeObject()
221 OnAllocateEvent(reinterpret_cast<uintptr_t>(object)); in AllocateHugeObject()
222 return object; in AllocateHugeObject()
228 auto object = reinterpret_cast<TaggedObject *>(machineCodeSpace_->Allocate(size)); in AllocateMachineCodeObject() local
229 if (UNLIKELY(object == nullptr)) { in AllocateMachineCodeObject()
233 object->SetClass(hclass); in AllocateMachineCodeObject()
234 OnAllocateEvent(reinterpret_cast<uintptr_t>(object)); in AllocateMachineCodeObject()
235 return object; in AllocateMachineCodeObject()
241 uintptr_t object = snapshotSpace_->Allocate(size); in AllocateSnapShotSpace() local
242 if (UNLIKELY(object == 0)) { in AllocateSnapShotSpace()
246 return object; in AllocateSnapShotSpace()