Searched refs:swap_space_ (Results 1 – 3 of 3) sorted by relevance
/art/compiler/utils/ |
D | swap_space.h | 124 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator() 128 : swap_space_(other.swap_space_) {} in SwapAllocator() 135 SwapSpace* swap_space_; 160 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator() 164 : swap_space_(other.swap_space_) {} in SwapAllocator() 179 if (swap_space_ == nullptr) { 184 return reinterpret_cast<T*>(swap_space_->Alloc(n * sizeof(T))); 188 if (swap_space_ == nullptr) { in deallocate() 191 swap_space_->Free(p, n * sizeof(T)); in deallocate() 207 return swap_space_ == other.swap_space_; [all …]
|
/art/compiler/driver/ |
D | compiled_method_storage.cc | 60 return CopyArray(swap_space_.get(), data); in AllocateOrDeduplicateArray() 70 ReleaseArray(swap_space_.get(), array); in ReleaseArrayIfNotDeduplicated() 156 : swap_space_(swap_space) { in LengthPrefixedArrayAlloc() 160 return CopyArray(swap_space_, array); in Copy() 164 ReleaseArray(swap_space_, array); in Destroy() 168 SwapSpace* const swap_space_; member in art::CompiledMethodStorage::LengthPrefixedArrayAlloc 172 : swap_space_(swap_fd == -1 ? nullptr : new SwapSpace(swap_fd, 10 * MB)), in CompiledMethodStorage() 174 dedupe_code_("dedupe code", LengthPrefixedArrayAlloc<uint8_t>(swap_space_.get())), in CompiledMethodStorage() 176 LengthPrefixedArrayAlloc<uint8_t>(swap_space_.get())), in CompiledMethodStorage() 178 LengthPrefixedArrayAlloc<uint8_t>(swap_space_.get())), in CompiledMethodStorage() [all …]
|
D | compiled_method_storage.h | 48 return SwapAllocator<void>(swap_space_.get()); in GetSwapSpaceAllocator() 93 std::unique_ptr<SwapSpace> swap_space_; variable
|