Searched refs:swap_space_ (Results 1 – 3 of 3) sorted by relevance
/art/compiler/utils/ |
D | swap_space.h | 125 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator() 129 : swap_space_(other.swap_space_) {} in SwapAllocator() 136 SwapSpace* swap_space_; 161 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator() 165 : swap_space_(other.swap_space_) {} in SwapAllocator() 180 if (swap_space_ == nullptr) { 185 return reinterpret_cast<T*>(swap_space_->Alloc(n * sizeof(T))); 189 if (swap_space_ == nullptr) { in deallocate() 192 swap_space_->Free(p, n * sizeof(T)); in deallocate() 208 return swap_space_ == other.swap_space_; [all …]
|
/art/compiler/driver/ |
D | compiled_method_storage.cc | 63 return CopyArray(swap_space_.get(), data); in AllocateOrDeduplicateArray() 73 ReleaseArray(swap_space_.get(), array); in ReleaseArrayIfNotDeduplicated() 92 : swap_space_(swap_space) { in LengthPrefixedArrayAlloc() 96 return CopyArray(swap_space_, array); in Copy() 100 ReleaseArray(swap_space_, array); in Destroy() 104 SwapSpace* const swap_space_; member in art::CompiledMethodStorage::LengthPrefixedArrayAlloc 148 : swap_space_(swap_fd == -1 ? nullptr : new SwapSpace(swap_fd, 10 * MB)), in CompiledMethodStorage() 150 dedupe_code_("dedupe code", LengthPrefixedArrayAlloc<uint8_t>(swap_space_.get())), in CompiledMethodStorage() 152 LengthPrefixedArrayAlloc<uint8_t>(swap_space_.get())), in CompiledMethodStorage() 153 dedupe_cfi_info_("dedupe cfi info", LengthPrefixedArrayAlloc<uint8_t>(swap_space_.get())), in CompiledMethodStorage() [all …]
|
D | compiled_method_storage.h | 51 return SwapAllocator<void>(swap_space_.get()); in GetSwapSpaceAllocator() 114 std::unique_ptr<SwapSpace> swap_space_; variable
|