Home
last modified time | relevance | path

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

/aosp12/art/compiler/utils/
H A Dswap_space.h114 class SwapAllocator<void> {
128 SwapAllocator(const SwapAllocator<U>& other) in SwapAllocator() function
131 SwapAllocator(const SwapAllocator& other) = default;
132 SwapAllocator& operator=(const SwapAllocator& other) = default;
142 friend bool operator==(const SwapAllocator<U>& lhs, const SwapAllocator<U>& rhs);
146 class SwapAllocator {
164 SwapAllocator(const SwapAllocator<U>& other) in SwapAllocator() function
167 SwapAllocator(const SwapAllocator& other) = default;
168 SwapAllocator& operator=(const SwapAllocator& other) = default;
225 inline bool operator==(const SwapAllocator<T>& lhs, const SwapAllocator<T>& rhs) {
[all …]
H A Dswap_space_test.cc42 SwapAllocator<void> alloc(use_file ? &pool : nullptr); in SwapTest()
/aosp12/art/compiler/driver/
H A 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()
H A Dcompiled_method_storage.h50 SwapAllocator<void> GetSwapSpaceAllocator() { in GetSwapSpaceAllocator()
51 return SwapAllocator<void>(swap_space_.get()); in GetSwapSpaceAllocator()
85 SwapAllocator<ThunkMapValueType>>;
/aosp12/art/compiler/
H A Dcompiled_method.cc116 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in SwapAllocCompiledMethod()
129 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in ReleaseSwapAllocatedCompiledMethod()