Lines Matching refs:region
64 LOG_ECMA_IF(AlignUp(mem, PANDA_POOL_ALIGNMENT_IN_BYTES) != mem, FATAL) << "region not align by 256KB";
69 Region *region = new (ToVoidPtr(mem)) Region(heap->GetNativeAreaAllocator(), mem, begin, end, flags, typeFlag);
70 region->Initialize();
72 return region;
75 void HeapRegionAllocator::FreeRegion(Region *region, size_t cachedSize)
77 auto size = region->GetCapacity();
78 bool isRegular = !region->InHugeObjectSpace() && !region->InHugeMachineCodeSpace() &&
79 !region->InSharedHugeObjectSpace();
80 auto allocateBase = region->GetAllocateBase();
83 region->Invalidate();
84 region->ClearMembers();