Searched refs:LinearAlloc (Results 1 – 13 of 13) sorted by relevance
/art/runtime/ |
D | linear_alloc.cc | 23 LinearAlloc::LinearAlloc(ArenaPool* pool) : lock_("linear alloc"), allocator_(pool) { in LinearAlloc() function in art::LinearAlloc 26 void* LinearAlloc::Realloc(Thread* self, void* ptr, size_t old_size, size_t new_size) { in Realloc() 31 void* LinearAlloc::Alloc(Thread* self, size_t size) { in Alloc() 36 size_t LinearAlloc::GetUsedMemory() const { in GetUsedMemory() 41 ArenaPool* LinearAlloc::GetArenaPool() { in GetArenaPool() 46 bool LinearAlloc::Contains(void* ptr) const { in Contains() 51 bool LinearAlloc::ContainsUnsafe(void* ptr) const { in ContainsUnsafe()
|
D | linear_alloc.h | 27 class LinearAlloc { 29 explicit LinearAlloc(ArenaPool* pool); 58 DISALLOW_IMPLICIT_CONSTRUCTORS(LinearAlloc);
|
D | runtime.h | 83 class LinearAlloc; variable 388 ArtMethod* CreateImtConflictMethod(LinearAlloc* linear_alloc) 579 LinearAlloc* GetLinearAlloc() { in GetLinearAlloc() 606 LinearAlloc* CreateLinearAlloc(); 732 std::unique_ptr<LinearAlloc> linear_alloc_;
|
D | class_linker.h | 440 LinearAlloc* allocator, 444 LinearAlloc* allocator, 578 ArtMethod* CreateRuntimeMethod(LinearAlloc* linear_alloc); 591 LinearAlloc* GetAllocatorForClassLoader(mirror::ClassLoader* class_loader) 596 LinearAlloc* GetOrCreateAllocatorForClassLoader(mirror::ClassLoader* class_loader) 627 ImtConflictTable* CreateImtConflictTable(size_t count, LinearAlloc* linear_alloc); 631 LinearAlloc* linear_alloc, 669 LinearAlloc* allocator; 717 LinearAlloc* linear_alloc)
|
D | runtime.cc | 1661 ArtMethod* Runtime::CreateImtConflictMethod(LinearAlloc* linear_alloc) { in CreateImtConflictMethod() 2015 LinearAlloc* Runtime::CreateLinearAlloc() { in CreateLinearAlloc() 2020 ? new LinearAlloc(low_4gb_arena_pool_.get()) in CreateLinearAlloc() 2021 : new LinearAlloc(arena_pool_.get()); in CreateLinearAlloc()
|
D | class_linker.cc | 503 LinearAlloc* linear_alloc = runtime->GetLinearAlloc(); in InitWithoutImage() 2064 LinearAlloc* linear_alloc) { in AllocDexCache() 2975 LinearAlloc* allocator, in AllocArtFieldArray() 2991 LinearAlloc* allocator, in AllocArtMethodArray() 3009 LinearAlloc* ClassLinker::GetAllocatorForClassLoader(mirror::ClassLoader* class_loader) { in GetAllocatorForClassLoader() 3013 LinearAlloc* allocator = class_loader->GetAllocator(); in GetAllocatorForClassLoader() 3018 LinearAlloc* ClassLinker::GetOrCreateAllocatorForClassLoader(mirror::ClassLoader* class_loader) { in GetOrCreateAllocatorForClassLoader() 3023 LinearAlloc* allocator = class_loader->GetAllocator(); in GetOrCreateAllocatorForClassLoader() 3044 LinearAlloc* const allocator = GetAllocatorForClassLoader(klass->GetClassLoader()); in LoadClassMembers() 3267 LinearAlloc* const linear_alloc = GetOrCreateAllocatorForClassLoader(class_loader); in RegisterDexFile() [all …]
|
D | stack.cc | 667 LinearAlloc* const linear_alloc = runtime->GetLinearAlloc(); in SanityCheckFrame() 671 LinearAlloc* const class_linear_alloc = (klass != nullptr) in SanityCheckFrame()
|
/art/runtime/mirror/ |
D | class_loader.h | 53 LinearAlloc* GetAllocator() SHARED_REQUIRES(Locks::mutator_lock_) { in GetAllocator() 54 return reinterpret_cast<LinearAlloc*>( in GetAllocator() 58 void SetAllocator(LinearAlloc* allocator) SHARED_REQUIRES(Locks::mutator_lock_) { in SetAllocator()
|
D | dex_cache_test.cc | 49 TEST_F(DexCacheTest, LinearAlloc) { in TEST_F() argument 60 LinearAlloc* const linear_alloc = klass->GetClassLoader()->GetAllocator(); in TEST_F()
|
/art/runtime/jit/ |
D | jit_code_cache.h | 38 class LinearAlloc; variable 147 void RemoveMethodsIn(Thread* self, const LinearAlloc& alloc)
|
D | jit_code_cache.cc | 262 void JitCodeCache::RemoveMethodsIn(Thread* self, const LinearAlloc& alloc) { in RemoveMethodsIn()
|
/art/compiler/debug/ |
D | elf_debug_info_writer.h | 473 LinearAlloc* allocator = Runtime::Current()->GetLinearAlloc(); in WriteLinkageName()
|
/art/runtime/arch/ |
D | stub_test.cc | 2011 LinearAlloc* linear_alloc = Runtime::Current()->GetLinearAlloc(); in TEST_F()
|