Searched refs:next_part (Results 1 – 1 of 1) sorted by relevance
/art/compiler/utils/ |
D | swap_space.cc | 138 size_t next_part = std::max(RoundUp(min_size, kPageSize), RoundUp(kMininumMapSize, kPageSize)); in NewFileChunk() local 139 int result = TEMP_FAILURE_RETRY(ftruncate64(fd_, size_ + next_part)); in NewFileChunk() 144 mmap(nullptr, next_part, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, size_)); in NewFileChunk() 147 LOG(ERROR) << "Current size: " << size_ << " requested: " << next_part << "/" << min_size; in NewFileChunk() 153 size_ += next_part; in NewFileChunk() 154 SpaceChunk new_chunk = {ptr, next_part}; in NewFileChunk()
|