Searched refs:SwapSpace (Results 1 – 5 of 5) sorted by relevance
48 void SwapSpace::RemoveChunk(FreeBySizeSet::const_iterator free_by_size_pos) { in RemoveChunk()54 inline void SwapSpace::InsertChunk(const SpaceChunk& chunk) { in InsertChunk()61 SwapSpace::SwapSpace(int fd, size_t initial_size) in SwapSpace() function in art::SwapSpace70 SwapSpace::~SwapSpace() { in ~SwapSpace()107 void* SwapSpace::Alloc(size_t size) { in Alloc()136 SwapSpace::SpaceChunk SwapSpace::NewFileChunk(size_t min_size) { in NewFileChunk()164 void SwapSpace::Free(void* ptr, size_t size) { in Free()
34 class SwapSpace {36 SwapSpace(int fd, size_t initial_size);37 ~SwapSpace();97 DISALLOW_COPY_AND_ASSIGN(SwapSpace);114 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator()124 SwapSpace* swap_space_;149 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator()202 SwapSpace* swap_space_;
39 SwapSpace pool(fd, 1 * MB); in SwapTest()
34 const LengthPrefixedArray<T>* CopyArray(SwapSpace* swap_space, const ArrayRef<const T>& array) { in CopyArray()44 void ReleaseArray(SwapSpace* swap_space, const LengthPrefixedArray<T>* array) { in ReleaseArray()155 explicit LengthPrefixedArrayAlloc(SwapSpace* swap_space) in LengthPrefixedArrayAlloc()168 SwapSpace* const swap_space_;172 : swap_space_(swap_fd == -1 ? nullptr : new SwapSpace(swap_fd, 10 * MB)), in CompiledMethodStorage()
94 std::unique_ptr<SwapSpace> swap_space_;