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.h87 class LinearAlloc; variable
115 virtual bool Visit(LinearAlloc* alloc)
473 LinearAlloc* allocator,
477 LinearAlloc* allocator,
632 LinearAlloc* GetAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
637 LinearAlloc* GetOrCreateAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
665 ImtConflictTable* CreateImtConflictTable(size_t count, LinearAlloc* linear_alloc);
669 LinearAlloc* linear_alloc,
767 LinearAlloc* allocator;
832 LinearAlloc* linear_alloc)
Druntime.h92 class LinearAlloc; variable
409 ArtMethod* CreateImtConflictMethod(LinearAlloc* linear_alloc)
661 LinearAlloc* GetLinearAlloc() { in GetLinearAlloc()
725 LinearAlloc* CreateLinearAlloc();
985 std::unique_ptr<LinearAlloc> linear_alloc_;
Dcha.cc83 const LinearAlloc* alloc, in ResetSingleImplementationInHierarchy()
707 void ClassHierarchyAnalysis::RemoveDependenciesForLinearAlloc(const LinearAlloc* linear_alloc) { in RemoveDependenciesForLinearAlloc()
Dstack.cc631 LinearAlloc* const linear_alloc = runtime->GetLinearAlloc(); in SanityCheckFrame()
638 LinearAlloc* const class_linear_alloc = (klass != nullptr) in SanityCheckFrame()
Druntime.cc2176 static ArtMethod* CreateRuntimeMethod(ClassLinker* class_linker, LinearAlloc* linear_alloc) { in CreateRuntimeMethod()
2191 ArtMethod* Runtime::CreateImtConflictMethod(LinearAlloc* linear_alloc) { in CreateImtConflictMethod()
2663 LinearAlloc* Runtime::CreateLinearAlloc() { in CreateLinearAlloc()
2668 ? new LinearAlloc(low_4gb_arena_pool_.get()) in CreateLinearAlloc()
2669 : new LinearAlloc(arena_pool_.get()); in CreateLinearAlloc()
Dclass_linker.cc607 LinearAlloc* linear_alloc = runtime->GetLinearAlloc(); in InitWithoutImage()
1310 explicit CHAOnDeleteUpdateClassVisitor(LinearAlloc* alloc) in CHAOnDeleteUpdateClassVisitor()
1321 const LinearAlloc* allocator_;
2548 LinearAlloc* linear_alloc) { in AllocAndInitializeDexCache()
3553 LinearAlloc* allocator, in AllocArtFieldArray()
3569 LinearAlloc* allocator, in AllocArtMethodArray()
3587 LinearAlloc* ClassLinker::GetAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_loader) { in GetAllocatorForClassLoader()
3591 LinearAlloc* allocator = class_loader->GetAllocator(); in GetAllocatorForClassLoader()
3596 LinearAlloc* ClassLinker::GetOrCreateAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_load… in GetOrCreateAllocatorForClassLoader()
3601 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.cc41 LinearAlloc* linear_alloc, in InitializeDexCache()
178 LinearAlloc* linear_alloc = Runtime::Current()->GetLinearAlloc(); in AddPreResolvedStringsArray()
Ddex_cache.h39 class LinearAlloc; variable
191 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.h39 class LinearAlloc; variable
201 void RemoveMethodsIn(Thread* self, const LinearAlloc& alloc)
Djit_code_cache.cc165 void RemoveMethodsIn(const LinearAlloc& alloc) { in RemoveMethodsIn()
834 void JitCodeCache::RemoveMethodsIn(Thread* self, const LinearAlloc& alloc) { in RemoveMethodsIn()
/art/openjdkjvmti/
Dti_redefine.cc209 art::LinearAlloc* allocator, in ObsoleteMethodStackVisitor()
227 art::LinearAlloc* allocator, in UpdateObsoleteFrames()
273 art::LinearAlloc* allocator_;
593 art::LinearAlloc* allocator;
596 explicit CallbackCtx(ObsoleteMap* map, art::LinearAlloc* alloc) in CallbackCtx()
/art/compiler/debug/
Delf_debug_info_writer.h480 LinearAlloc* allocator = Runtime::Current()->GetLinearAlloc(); in WriteLinkageName()
/art/runtime/arch/
Dstub_test.cc1913 LinearAlloc* linear_alloc = Runtime::Current()->GetLinearAlloc(); in TEST_F()