Home
last modified time | relevance | path

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

/art/compiler/utils/
Dswap_space.h111 template <typename T> class SwapAllocator; variable
114 class SwapAllocator<void> {
122 typedef SwapAllocator<U> other;
125 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator() function
128 SwapAllocator(const SwapAllocator<U>& other) in SwapAllocator() function
131 SwapAllocator(const SwapAllocator& other) = default;
132 SwapAllocator& operator=(const SwapAllocator& other) = default;
133 ~SwapAllocator() = default;
139 friend class SwapAllocator; variable
142 friend bool operator==(const SwapAllocator<U>& lhs, const SwapAllocator<U>& rhs);
[all …]
Dswap_space_test.cc42 SwapAllocator<void> alloc(use_file ? &pool : nullptr); in SwapTest()
/art/compiler/driver/
Dcompiled_method_storage.cc39 SwapAllocator<uint8_t> allocator(swap_space); in CopyArray()
48 SwapAllocator<uint8_t> allocator(swap_space); in ReleaseArray()
130 ThunkMapValue(std::vector<uint8_t, SwapAllocator<uint8_t>>&& code, in ThunkMapValue()
143 std::vector<uint8_t, SwapAllocator<uint8_t>> code_;
157 thunk_map_(std::less<ThunkMapKey>(), SwapAllocator<ThunkMapValueType>(swap_space_.get())) { in CompiledMethodStorage()
260 std::vector<uint8_t, SwapAllocator<uint8_t>> code_copy( in SetThunkCode()
261 code.begin(), code.end(), SwapAllocator<uint8_t>(swap_space_.get())); in SetThunkCode()
Dcompiled_method_storage.h50 SwapAllocator<void> GetSwapSpaceAllocator() { in GetSwapSpaceAllocator()
51 return SwapAllocator<void>(swap_space_.get()); in GetSwapSpaceAllocator()
85 SwapAllocator<ThunkMapValueType>>;
/art/compiler/
Dcompiled_method.cc116 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in SwapAllocCompiledMethod()
129 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in ReleaseSwapAllocatedCompiledMethod()