Home
last modified time | relevance | path

Searched refs:SwapSpace (Results 1 – 5 of 5) sorted by relevance

/art/compiler/utils/
Dswap_space.cc49 void SwapSpace::RemoveChunk(FreeBySizeSet::const_iterator free_by_size_pos) { in RemoveChunk()
55 inline void SwapSpace::InsertChunk(const SpaceChunk& chunk) { in InsertChunk()
62 SwapSpace::SwapSpace(int fd, size_t initial_size) in SwapSpace() function in art::SwapSpace
71 SwapSpace::~SwapSpace() { in ~SwapSpace()
108 void* SwapSpace::Alloc(size_t size) { in Alloc()
147 SwapSpace::SpaceChunk SwapSpace::NewFileChunk(size_t min_size) { in NewFileChunk()
175 void SwapSpace::Free(void* ptr, size_t size) { in Free()
Dswap_space.h35 class SwapSpace {
37 SwapSpace(int fd, size_t initial_size);
38 ~SwapSpace();
108 DISALLOW_COPY_AND_ASSIGN(SwapSpace);
125 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator()
136 SwapSpace* swap_space_;
161 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator()
215 SwapSpace* swap_space_;
Dswap_space_test.cc41 SwapSpace pool(fd, 1 * MB); in SwapTest()
/art/compiler/driver/
Dcompiled_method_storage.cc37 const LengthPrefixedArray<T>* CopyArray(SwapSpace* swap_space, const ArrayRef<const T>& array) { in CopyArray()
47 void ReleaseArray(SwapSpace* swap_space, const LengthPrefixedArray<T>* array) { in ReleaseArray()
91 explicit LengthPrefixedArrayAlloc(SwapSpace* swap_space) in LengthPrefixedArrayAlloc()
104 SwapSpace* const swap_space_;
148 : swap_space_(swap_fd == -1 ? nullptr : new SwapSpace(swap_fd, 10 * MB)), in CompiledMethodStorage()
Dcompiled_method_storage.h114 std::unique_ptr<SwapSpace> swap_space_;