Home
last modified time | relevance | path

Searched refs:LinearAlloc (Results 1 – 13 of 13) sorted by relevance

/art/runtime/
Dlinear_alloc.cc23 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()
Dlinear_alloc.h27 class LinearAlloc {
29 explicit LinearAlloc(ArenaPool* pool);
58 DISALLOW_IMPLICIT_CONSTRUCTORS(LinearAlloc);
Druntime.h83 class LinearAlloc; variable
388 ArtMethod* CreateImtConflictMethod(LinearAlloc* linear_alloc)
579 LinearAlloc* GetLinearAlloc() { in GetLinearAlloc()
606 LinearAlloc* CreateLinearAlloc();
732 std::unique_ptr<LinearAlloc> linear_alloc_;
Dclass_linker.h440 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)
Druntime.cc1661 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()
Dclass_linker.cc503 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 …]
Dstack.cc667 LinearAlloc* const linear_alloc = runtime->GetLinearAlloc(); in SanityCheckFrame()
671 LinearAlloc* const class_linear_alloc = (klass != nullptr) in SanityCheckFrame()
/art/runtime/mirror/
Dclass_loader.h53 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()
Ddex_cache_test.cc49 TEST_F(DexCacheTest, LinearAlloc) { in TEST_F() argument
60 LinearAlloc* const linear_alloc = klass->GetClassLoader()->GetAllocator(); in TEST_F()
/art/runtime/jit/
Djit_code_cache.h38 class LinearAlloc; variable
147 void RemoveMethodsIn(Thread* self, const LinearAlloc& alloc)
Djit_code_cache.cc262 void JitCodeCache::RemoveMethodsIn(Thread* self, const LinearAlloc& alloc) { in RemoveMethodsIn()
/art/compiler/debug/
Delf_debug_info_writer.h473 LinearAlloc* allocator = Runtime::Current()->GetLinearAlloc(); in WriteLinkageName()
/art/runtime/arch/
Dstub_test.cc2011 LinearAlloc* linear_alloc = Runtime::Current()->GetLinearAlloc(); in TEST_F()