• Home
  • Raw
  • Download

Lines Matching full:allocate

57 …(object) = reinterpret_cast<TaggedObject *>((space)->Allocate(size));                             …
66 …(object) = reinterpret_cast<TaggedObject *>((space)->Allocate(thread, size)); …
75 …(object) = reinterpret_cast<TaggedObject *>((space)->Allocate(size, desc)); …
84 …(object) = reinterpret_cast<TaggedObject *>((space)->Allocate(size)); …
240 return reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in AllocateInYoungSpace()
353 object = reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in TryAllocateYoungGeneration()
441 return reinterpret_cast<TaggedObject *>(readOnlySpace_->Allocate(size)); in AllocateReadOnlyOrHugeObject()
488 object = reinterpret_cast<TaggedObject *>(nonMovableSpace_->Allocate(size)); in AllocateClassClass()
491 LOG_ECMA_MEM(FATAL) << "Heap::AllocateClassClass can not allocate any space"; in AllocateClassClass()
506 // check why shareheap allocate in readonly in AllocateClassClass()
510 object = reinterpret_cast<TaggedObject *>(sReadOnlySpace_->Allocate(thread, size)); in AllocateClassClass()
513 LOG_ECMA_MEM(FATAL) << "Heap::AllocateClassClass can not allocate any space"; in AllocateClassClass()
532 auto *object = reinterpret_cast<TaggedObject *>(hugeObjectSpace_->Allocate(size, thread_)); in AllocateHugeObject()
535 object = reinterpret_cast<TaggedObject *>(hugeObjectSpace_->Allocate(size, thread_)); in AllocateHugeObject()
537 // if allocate huge object OOM, temporarily increase space size to avoid vm crash in AllocateHugeObject()
542 object = reinterpret_cast<TaggedObject *>(hugeObjectSpace_->Allocate(size, thread_)); in AllocateHugeObject()
544 object = reinterpret_cast<TaggedObject *>(hugeObjectSpace_->Allocate(size, thread_)); in AllocateHugeObject()
570 object = reinterpret_cast<TaggedObject *>(hugeMachineCodeSpace_->Allocate( in AllocateHugeMachineCodeObject()
573 object = reinterpret_cast<TaggedObject *>(hugeMachineCodeSpace_->Allocate( in AllocateHugeMachineCodeObject()
592 reinterpret_cast<TaggedObject *>(machineCodeSpace_->Allocate(size)); in AllocateMachineCodeObject()
608 // for non huge code cache obj, allocate fort space before allocating the code object in AllocateMachineCodeObject()
624 reinterpret_cast<TaggedObject *>(machineCodeSpace_->Allocate(size, desc, true)); in AllocateMachineCodeObject()
639 uintptr_t object = snapshotSpace_->Allocate(size); in AllocateSnapshotSpace()
668 TaggedObject *object = reinterpret_cast<TaggedObject*>(sNonMovableTlab_->Allocate(size)); in AllocateSharedNonMovableSpaceFromTlab()
710 TaggedObject *object = reinterpret_cast<TaggedObject*>(sOldTlab_->Allocate(size)); in AllocateSharedOldSpaceFromTlab()
938 …// currently, SharedHeap::TryTriggerConcurrentMarking is called only when allocate object in Share… in TryTriggerConcurrentMarking()
965 object = reinterpret_cast<TaggedObject *>(sNonMovableSpace_->Allocate(thread, size)); in AllocateNonMovableOrHugeObject()
995 object = reinterpret_cast<TaggedObject *>(sNonMovableSpace_->Allocate(thread, size)); in AllocateNonMovableOrHugeObject()
1123 auto *object = reinterpret_cast<TaggedObject *>(sHugeObjectSpace_->Allocate(thread, size)); in AllocateHugeObject()
1126 object = reinterpret_cast<TaggedObject *>(sHugeObjectSpace_->Allocate(thread, size)); in AllocateHugeObject()
1128 // if allocate huge object OOM, temporarily increase space size to avoid vm crash in AllocateHugeObject()
1133 object = reinterpret_cast<TaggedObject *>(sHugeObjectSpace_->Allocate(thread, size)); in AllocateHugeObject()
1161 object = reinterpret_cast<TaggedObject *>(sReadOnlySpace_->Allocate(thread, size)); in AllocateReadOnlyOrHugeObject()
1196 object = reinterpret_cast<TaggedObject *>(sNonMovableSpace_->Allocate(thread, size)); in AllocateSNonMovableTlab()