Home
last modified time | relevance | path

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

/art/dex2oat/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.h36 class SwapSpace {
38 SwapSpace(int fd, size_t initial_size);
39 ~SwapSpace();
109 DISALLOW_COPY_AND_ASSIGN(SwapSpace);
126 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator()
137 SwapSpace* swap_space_;
162 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator()
216 SwapSpace* swap_space_;
Dswap_space_test.cc40 SwapSpace pool(fd, 1 * MB); in SwapTest()
/art/dex2oat/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.h127 std::unique_ptr<SwapSpace> swap_space_;