Home
last modified time | relevance | path

Searched refs:LinearAlloc (Results 1 – 19 of 19) 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 void* LinearAlloc::AllocAlign16(Thread* self, size_t size) { in AllocAlign16()
41 size_t LinearAlloc::GetUsedMemory() const { in GetUsedMemory()
46 ArenaPool* LinearAlloc::GetArenaPool() { in GetArenaPool()
51 bool LinearAlloc::Contains(void* ptr) const { in Contains()
56 bool LinearAlloc::ContainsUnsafe(void* ptr) const { in ContainsUnsafe()
Dlinear_alloc.h27 class LinearAlloc {
29 explicit LinearAlloc(ArenaPool* pool);
59 DISALLOW_IMPLICIT_CONSTRUCTORS(LinearAlloc);
Dcha.h32 class LinearAlloc; variable
120 const LinearAlloc* alloc,
129 void RemoveDependenciesForLinearAlloc(const LinearAlloc* linear_alloc)
Druntime.h88 class LinearAlloc; variable
380 ArtMethod* CreateImtConflictMethod(LinearAlloc* linear_alloc)
634 LinearAlloc* GetLinearAlloc() { in GetLinearAlloc()
676 LinearAlloc* CreateLinearAlloc();
870 std::unique_ptr<LinearAlloc> linear_alloc_;
Dclass_linker.h77 class LinearAlloc; variable
492 LinearAlloc* allocator,
496 LinearAlloc* allocator,
647 LinearAlloc* GetAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
652 LinearAlloc* GetOrCreateAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
680 ImtConflictTable* CreateImtConflictTable(size_t count, LinearAlloc* linear_alloc);
684 LinearAlloc* linear_alloc,
775 LinearAlloc* allocator;
830 LinearAlloc* linear_alloc)
Dcha.cc82 const LinearAlloc* alloc, in ResetSingleImplementationInHierarchy()
687 void ClassHierarchyAnalysis::RemoveDependenciesForLinearAlloc(const LinearAlloc* linear_alloc) { in RemoveDependenciesForLinearAlloc()
Druntime.cc2064 static ArtMethod* CreateRuntimeMethod(ClassLinker* class_linker, LinearAlloc* linear_alloc) { in CreateRuntimeMethod()
2079 ArtMethod* Runtime::CreateImtConflictMethod(LinearAlloc* linear_alloc) { in CreateImtConflictMethod()
2512 LinearAlloc* Runtime::CreateLinearAlloc() { in CreateLinearAlloc()
2517 ? new LinearAlloc(low_4gb_arena_pool_.get()) in CreateLinearAlloc()
2518 : new LinearAlloc(arena_pool_.get()); in CreateLinearAlloc()
Dstack.cc648 LinearAlloc* const linear_alloc = runtime->GetLinearAlloc(); in SanityCheckFrame()
655 LinearAlloc* const class_linear_alloc = (klass != nullptr) in SanityCheckFrame()
Dclass_linker.cc581 LinearAlloc* linear_alloc = runtime->GetLinearAlloc(); in InitWithoutImage()
1169 explicit CHAOnDeleteUpdateClassVisitor(LinearAlloc* alloc) in CHAOnDeleteUpdateClassVisitor()
1180 const LinearAlloc* allocator_;
2246 LinearAlloc* linear_alloc) { in AllocAndInitializeDexCache()
3107 LinearAlloc* allocator, in AllocArtFieldArray()
3123 LinearAlloc* allocator, in AllocArtMethodArray()
3141 LinearAlloc* ClassLinker::GetAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_loader) { in GetAllocatorForClassLoader()
3145 LinearAlloc* allocator = class_loader->GetAllocator(); in GetAllocatorForClassLoader()
3150 LinearAlloc* ClassLinker::GetOrCreateAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_load… in GetOrCreateAllocatorForClassLoader()
3155 LinearAlloc* allocator = class_loader->GetAllocator(); in GetOrCreateAllocatorForClassLoader()
[all …]
/art/runtime/mirror/
Dclass_loader.h29 class LinearAlloc; variable
57 LinearAlloc* GetAllocator() REQUIRES_SHARED(Locks::mutator_lock_) { in GetAllocator()
58 return reinterpret_cast<LinearAlloc*>( in GetAllocator()
62 void SetAllocator(LinearAlloc* allocator) REQUIRES_SHARED(Locks::mutator_lock_) { in SetAllocator()
Ddex_cache_test.cc79 TEST_F(DexCacheTest, LinearAlloc) { in TEST_F() argument
88 LinearAlloc* const linear_alloc = klass->GetClassLoader()->GetAllocator(); in TEST_F()
Ddex_cache.h35 class LinearAlloc; variable
200 LinearAlloc* linear_alloc,
Ddex_cache.cc41 LinearAlloc* linear_alloc, in InitializeDexCache()
/art/test/616-cha-unloading/
Dcha_unload.cc45 std::unique_ptr<LinearAlloc> alloc(Runtime::Current()->CreateLinearAlloc()); in Java_Main_reuseArenaOfMethod()
/art/runtime/jit/
Djit_code_cache.h35 class LinearAlloc; variable
206 void RemoveMethodsIn(Thread* self, const LinearAlloc& alloc)
Djit_code_cache.cc133 void RemoveMethodsIn(const LinearAlloc& alloc) { in RemoveMethodsIn()
604 void JitCodeCache::RemoveMethodsIn(Thread* self, const LinearAlloc& alloc) { in RemoveMethodsIn()
/art/openjdkjvmti/
Dti_redefine.cc146 art::LinearAlloc* allocator, in ObsoleteMethodStackVisitor()
164 art::LinearAlloc* allocator, in UpdateObsoleteFrames()
215 art::LinearAlloc* allocator_;
550 art::LinearAlloc* allocator;
553 explicit CallbackCtx(ObsoleteMap* map, art::LinearAlloc* alloc) in CallbackCtx()
/art/compiler/debug/
Delf_debug_info_writer.h499 LinearAlloc* allocator = Runtime::Current()->GetLinearAlloc(); in WriteLinkageName()
/art/runtime/arch/
Dstub_test.cc1898 LinearAlloc* linear_alloc = Runtime::Current()->GetLinearAlloc(); in TEST_F()