Lines Matching refs:End
87 LargeObjectSpace::LargeObjectSpace(const std::string& name, byte* begin, byte* end)
90 total_objects_allocated_(0), begin_(begin), end_(end) {
144 if (UNLIKELY(found == mem_maps_.end())) {
160 CHECK(found != mem_maps_.end()) << "Attempted to get size of a large object which is not live";
177 for (auto it = mem_maps_.begin(); it != mem_maps_.end(); ++it) {
179 callback(mem_map->Begin(), mem_map->End(), mem_map->Size(), arg);
188 return mem_maps_.find(const_cast<mirror::Object*>(obj)) != mem_maps_.end();
191 return mem_maps_.find(const_cast<mirror::Object*>(obj)) != mem_maps_.end();
264 DCHECK_LT(info, reinterpret_cast<AllocationInfo*>(allocation_info_map_->End()));
291 return new FreeListSpace(name, mem_map, mem_map->Begin(), mem_map->End());
294 FreeListSpace::FreeListSpace(const std::string& name, MemMap* mem_map, byte* begin, byte* end)
295 : LargeObjectSpace(name, begin, end),
298 const size_t space_capacity = end - begin;
334 CHECK(it != free_blocks_.end());
342 << reinterpret_cast<void*>(End());
352 // Calculate the start of the end free block.
366 // Easy case, the next chunk is the end free region.
419 if (it != free_blocks_.end()) {
434 // Try to steal some memory from the free space at the end of the space.
436 // Fit our object at the start of the end free block.
437 new_info = GetAllocationInfoForAddress(reinterpret_cast<uintptr_t>(End()) - free_end_);
468 << " end: " << reinterpret_cast<void*>(End()) << "\n";
509 if (Begin() >= End()) {
520 reinterpret_cast<uintptr_t>(End()), SweepCallback, &scc);