Home
last modified time | relevance | path

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

/art/compiler/utils/
Dswap_space.h110 template <typename T> class SwapAllocator; variable
113 class SwapAllocator<void> {
121 typedef SwapAllocator<U> other;
124 explicit SwapAllocator(SwapSpace* swap_space) : swap_space_(swap_space) {} in SwapAllocator() function
127 SwapAllocator(const SwapAllocator<U>& other) // NOLINT, implicit in SwapAllocator() function
130 SwapAllocator(const SwapAllocator& other) = default;
131 SwapAllocator& operator=(const SwapAllocator& other) = default;
132 ~SwapAllocator() = default;
138 friend class SwapAllocator; variable
141 friend bool operator==(const SwapAllocator<U>& lhs, const SwapAllocator<U>& rhs);
[all …]
Dswap_space_test.cc40 SwapAllocator<void> alloc(use_file ? &pool : nullptr); in SwapTest()
/art/compiler/driver/
Dcompiled_method_storage.h47 SwapAllocator<void> GetSwapSpaceAllocator() { in GetSwapSpaceAllocator()
48 return SwapAllocator<void>(swap_space_.get()); in GetSwapSpaceAllocator()
Dcompiled_method_storage.cc36 SwapAllocator<uint8_t> allocator(swap_space); in CopyArray()
45 SwapAllocator<uint8_t> allocator(swap_space); in ReleaseArray()
/art/compiler/
Dcompiled_method.cc133 SwapAllocator<CompiledMethod> alloc(driver->GetCompiledMethodStorage()->GetSwapSpaceAllocator()); in SwapAllocCompiledMethod()
149 SwapAllocator<CompiledMethod> alloc(driver->GetCompiledMethodStorage()->GetSwapSpaceAllocator()); in ReleaseSwapAllocatedCompiledMethod()