Lines Matching defs:Region
99 // Region is allocated before concurrent marking, but some new object may be allocated here
102 // Region is allocated during concurrent marking.
150 // | Region (256 kb) |
152 // | Head (sizeof(Region)) | Mark bitset (4kb) | Data |
155 class Region {
157 Region(NativeAreaAllocator *allocator, uintptr_t allocateBase, uintptr_t begin, uintptr_t end,
173 Region(NativeAreaAllocator *allocator, uintptr_t allocateBase, uintptr_t end,
184 ~Region() = default;
186 NO_COPY_SEMANTIC(Region);
187 NO_MOVE_SEMANTIC(Region);
194 Updater(uintptr_t updateAddress, Region& region)
257 Region& region_;
268 void LinkNext(Region *next)
273 Region *GetNext() const
278 void LinkPrev(Region *prev)
283 Region *GetPrev() const
405 static Region *ObjectAddressToRange(TaggedObject *obj)
407 return reinterpret_cast<Region *>(ToUintPtr(obj) & ~DEFAULT_REGION_MASK);
410 static Region *ObjectAddressToRange(uintptr_t objAddress)
412 return reinterpret_cast<Region *>(objAddress & ~DEFAULT_REGION_MASK);
417 size_t regionHeaderSize = AlignUp(sizeof(Region), static_cast<size_t>(MemAlignment::MEM_ALIGN_REGION));
967 Region *next_ {nullptr};
968 Region *prev_ {nullptr};