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.h28 class LinearAlloc {
30 explicit LinearAlloc(ArenaPool* pool);
60 DISALLOW_IMPLICIT_CONSTRUCTORS(LinearAlloc);
Dcha.h32 class LinearAlloc; variable
120 const LinearAlloc* alloc,
129 void RemoveDependenciesForLinearAlloc(const LinearAlloc* linear_alloc)
Dclass_linker.h56 class LinearAlloc; variable
142 virtual bool Visit(LinearAlloc* alloc)
501 LinearAlloc* allocator,
505 LinearAlloc* allocator,
695 LinearAlloc* GetAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
700 LinearAlloc* GetOrCreateAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
725 ImtConflictTable* CreateImtConflictTable(size_t count, LinearAlloc* linear_alloc);
729 LinearAlloc* linear_alloc,
855 LinearAlloc* allocator;
938 LinearAlloc* linear_alloc)
Druntime.h96 class LinearAlloc; variable
440 ArtMethod* CreateImtConflictMethod(LinearAlloc* linear_alloc)
713 LinearAlloc* GetLinearAlloc() { in GetLinearAlloc()
801 LinearAlloc* CreateLinearAlloc();
1088 std::unique_ptr<LinearAlloc> linear_alloc_;
Dcha.cc83 const LinearAlloc* alloc, in ResetSingleImplementationInHierarchy()
707 void ClassHierarchyAnalysis::RemoveDependenciesForLinearAlloc(const LinearAlloc* linear_alloc) { in RemoveDependenciesForLinearAlloc()
Druntime.cc2260 static ArtMethod* CreateRuntimeMethod(ClassLinker* class_linker, LinearAlloc* linear_alloc) in CreateRuntimeMethod()
2276 ArtMethod* Runtime::CreateImtConflictMethod(LinearAlloc* linear_alloc) { in CreateImtConflictMethod()
2754 LinearAlloc* Runtime::CreateLinearAlloc() { in CreateLinearAlloc()
2759 ? new LinearAlloc(low_4gb_arena_pool_.get()) in CreateLinearAlloc()
2760 : new LinearAlloc(arena_pool_.get()); in CreateLinearAlloc()
Dstack.cc729 LinearAlloc* const linear_alloc = runtime->GetLinearAlloc(); in ValidateFrame()
737 LinearAlloc* const class_linear_alloc = (klass != nullptr) in ValidateFrame()
Dclass_linker.cc897 LinearAlloc* linear_alloc = runtime->GetLinearAlloc(); in InitWithoutImage()
1398 explicit CHAOnDeleteUpdateClassVisitor(LinearAlloc* alloc) in CHAOnDeleteUpdateClassVisitor()
1409 const LinearAlloc* allocator_;
2612 LinearAlloc* linear_alloc) { in AllocAndInitializeDexCache()
3790 LinearAlloc* allocator, in AllocArtFieldArray()
3806 LinearAlloc* allocator, in AllocArtMethodArray()
3824 LinearAlloc* ClassLinker::GetAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_loader) { in GetAllocatorForClassLoader()
3828 LinearAlloc* allocator = class_loader->GetAllocator(); in GetAllocatorForClassLoader()
3833 LinearAlloc* ClassLinker::GetOrCreateAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_load… in GetOrCreateAllocatorForClassLoader()
3838 LinearAlloc* allocator = class_loader->GetAllocator(); in GetOrCreateAllocatorForClassLoader()
[all …]
/art/runtime/mirror/
Dclass_loader.h29 class LinearAlloc; variable
56 LinearAlloc* GetAllocator() REQUIRES_SHARED(Locks::mutator_lock_) { in GetAllocator()
57 return reinterpret_cast<LinearAlloc*>( in GetAllocator()
61 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.cc43 LinearAlloc* linear_alloc, in InitializeDexCache()
221 LinearAlloc* linear_alloc = Runtime::Current()->GetLinearAlloc(); in AddPreResolvedStringsArray()
Ddex_cache.h39 class LinearAlloc; variable
193 LinearAlloc* linear_alloc,
/art/test/616-cha-unloading/
Dcha_unload.cc38 bool Visit(LinearAlloc* alloc) in Visit()
80 std::unique_ptr<LinearAlloc> alloc(Runtime::Current()->CreateLinearAlloc()); in Java_Main_reuseArenaOfMethod()
/art/runtime/jit/
Djit_code_cache.h42 class LinearAlloc; variable
309 void RemoveMethodsIn(Thread* self, const LinearAlloc& alloc)
Djit_code_cache.cc176 void RemoveMethodsIn(const LinearAlloc& alloc) REQUIRES_SHARED(Locks::mutator_lock_) { in RemoveMethodsIn()
527 void JitCodeCache::RemoveMethodsIn(Thread* self, const LinearAlloc& alloc) { in RemoveMethodsIn()
/art/compiler/debug/
Delf_debug_info_writer.h480 LinearAlloc* allocator = Runtime::Current()->GetLinearAlloc(); in WriteLinkageName()
/art/openjdkjvmti/
Dti_redefine.cc268 art::LinearAlloc* allocator, in ObsoleteMethodStackVisitor()
286 art::LinearAlloc* allocator, in UpdateObsoleteFrames()
332 art::LinearAlloc* allocator_;
811 art::LinearAlloc* allocator;
814 explicit CallbackCtx(ObsoleteMap* map, art::LinearAlloc* alloc) in CallbackCtx()
/art/runtime/arch/
Dstub_test.cc1774 LinearAlloc* linear_alloc = Runtime::Current()->GetLinearAlloc(); in TEST_F()