• Home
  • Raw
  • Download

Lines Matching full:space

101 uintptr_t BaseDeserializer::DeserializeTaggedObject(SerializedObjectSpace space)  in DeserializeTaggedObject()  argument
104 uintptr_t res = RelocateObjectAddr(space, objSize); in DeserializeTaggedObject()
162 void BaseDeserializer::HandleNewObjectEncodeFlag(SerializedObjectSpace space, uintptr_t objAddr, s… in HandleNewObjectEncodeFlag() argument
171 uintptr_t addr = DeserializeTaggedObject(space); in HandleNewObjectEncodeFlag()
257 SerializedObjectSpace space = SerializeData::DecodeSpace(encodeFlag); in ReadSingleEncodeData() local
258 HandleNewObjectEncodeFlag(space, objAddr, fieldOffset, isRoot); in ReadSingleEncodeData()
381 uintptr_t BaseDeserializer::RelocateObjectAddr(SerializedObjectSpace space, size_t objSize) in RelocateObjectAddr() argument
384 switch (space) { in RelocateObjectAddr()
590 void BaseDeserializer::AllocateMultiRegion(SparseSpace *space, size_t spaceObjSize, size_t &regionI… in AllocateMultiRegion() argument
598 space->GetCurrentRegion()->IncreaseAliveObject(regionAliveObjSize); in AllocateMultiRegion()
599 space->ResetTopPointer(space->GetCurrentRegion()->GetBegin() + regionAliveObjSize); in AllocateMultiRegion()
600 if (!space->Expand()) { in AllocateMultiRegion()
603 Region *currentRegion = space->GetCurrentRegion(); in AllocateMultiRegion()
609space->GetCurrentRegion()->IncreaseAliveObject(Region::GetRegionAvailableSize() - lastRegionRemain… in AllocateMultiRegion()
610 space->ResetTopPointer(space->GetCurrentRegion()->GetEnd() - lastRegionRemainSize); in AllocateMultiRegion()
613 void BaseDeserializer::AllocateMultiSharedRegion(SharedSparseSpace *space, size_t spaceObjSize, siz… in AllocateMultiSharedRegion() argument
621 if (space->CommittedSizeExceed()) { in AllocateMultiSharedRegion()
624 Region *region = space->AllocateDeserializeRegion(thread_); in AllocateMultiSharedRegion()
637 space->MergeDeserializeAllocateRegions(allocateRegions); in AllocateMultiSharedRegion()
642 OldSpace *space = heap_->GetOldSpace(); in AllocateToOldSpace() local
643 uintptr_t object = space->AllocateSlow(oldSpaceSize, true); in AllocateToOldSpace()
645 if (space->CommittedSizeExceed()) { in AllocateToOldSpace()
648 oldSpaceBeginAddr_ = space->GetCurrentRegion()->GetBegin(); in AllocateToOldSpace()
649 FreeObject::FillFreeObject(heap_, oldSpaceBeginAddr_, space->GetCurrentRegion()->GetSize()); in AllocateToOldSpace()
650 AllocateMultiRegion(space, oldSpaceSize, oldRegionIndex_); in AllocateToOldSpace()
659 SparseSpace *space = heap_->GetNonMovableSpace(); in AllocateToNonMovableSpace() local
660 uintptr_t object = space->Allocate(nonMovableSpaceSize, false); in AllocateToNonMovableSpace()
662 if (space->CommittedSizeExceed()) { in AllocateToNonMovableSpace()
665 nonMovableSpaceBeginAddr_ = space->GetCurrentRegion()->GetBegin(); in AllocateToNonMovableSpace()
666 …FreeObject::FillFreeObject(heap_, nonMovableSpaceBeginAddr_, space->GetCurrentRegion()->GetSize()); in AllocateToNonMovableSpace()
667 AllocateMultiRegion(space, nonMovableSpaceSize, nonMovableRegionIndex_); in AllocateToNonMovableSpace()
676 SparseSpace *space = heap_->GetMachineCodeSpace(); in AllocateToMachineCodeSpace() local
677 uintptr_t object = space->Allocate(machineCodeSpaceSize, false); in AllocateToMachineCodeSpace()
679 if (space->CommittedSizeExceed()) { in AllocateToMachineCodeSpace()
682 machineCodeSpaceBeginAddr_ = space->GetCurrentRegion()->GetBegin(); in AllocateToMachineCodeSpace()
683 …FreeObject::FillFreeObject(heap_, machineCodeSpaceBeginAddr_, space->GetCurrentRegion()->GetSize()… in AllocateToMachineCodeSpace()
684 AllocateMultiRegion(space, machineCodeSpaceSize, machineCodeRegionIndex_); in AllocateToMachineCodeSpace()
693 SharedSparseSpace *space = sheap_->GetOldSpace(); in AllocateToSharedOldSpace() local
694 uintptr_t object = space->AllocateNoGCAndExpand(thread_, sOldSpaceSize); in AllocateToSharedOldSpace()
696 AllocateMultiSharedRegion(space, sOldSpaceSize, sOldRegionIndex_); in AllocateToSharedOldSpace()
710 SharedNonMovableSpace *space = sheap_->GetNonMovableSpace(); in AllocateToSharedNonMovableSpace() local
711 uintptr_t object = space->AllocateNoGCAndExpand(thread_, sNonMovableSpaceSize); in AllocateToSharedNonMovableSpace()
713 AllocateMultiSharedRegion(space, sNonMovableSpaceSize, sNonMovableRegionIndex_); in AllocateToSharedNonMovableSpace()