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