Home
last modified time | relevance | path

Searched refs:LinearAlloc (Results 1 – 18 of 18) 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.h31 class LinearAlloc; variable
117 void RemoveDependenciesForLinearAlloc(const LinearAlloc* linear_alloc)
Druntime.h81 class LinearAlloc; variable
373 ArtMethod* CreateImtConflictMethod(LinearAlloc* linear_alloc)
557 LinearAlloc* GetLinearAlloc() { in GetLinearAlloc()
591 LinearAlloc* CreateLinearAlloc();
770 std::unique_ptr<LinearAlloc> linear_alloc_;
Dclass_linker.h70 class LinearAlloc; variable
438 LinearAlloc* allocator,
442 LinearAlloc* allocator,
600 LinearAlloc* GetAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
605 LinearAlloc* GetOrCreateAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
633 ImtConflictTable* CreateImtConflictTable(size_t count, LinearAlloc* linear_alloc);
637 LinearAlloc* linear_alloc,
731 LinearAlloc* allocator;
786 LinearAlloc* linear_alloc)
Druntime.cc1905 static ArtMethod* CreateRuntimeMethod(ClassLinker* class_linker, LinearAlloc* linear_alloc) { in CreateRuntimeMethod()
1920 ArtMethod* Runtime::CreateImtConflictMethod(LinearAlloc* linear_alloc) { in CreateImtConflictMethod()
2327 LinearAlloc* Runtime::CreateLinearAlloc() { in CreateLinearAlloc()
2332 ? new LinearAlloc(low_4gb_arena_pool_.get()) in CreateLinearAlloc()
2333 : new LinearAlloc(arena_pool_.get()); in CreateLinearAlloc()
Dstack.cc647 LinearAlloc* const linear_alloc = runtime->GetLinearAlloc(); in SanityCheckFrame()
654 LinearAlloc* const class_linear_alloc = (klass != nullptr) in SanityCheckFrame()
Dcha.cc572 void ClassHierarchyAnalysis::RemoveDependenciesForLinearAlloc(const LinearAlloc* linear_alloc) { in RemoveDependenciesForLinearAlloc()
Dclass_linker.cc559 LinearAlloc* linear_alloc = runtime->GetLinearAlloc(); in InitWithoutImage()
2366 LinearAlloc* linear_alloc) { in AllocAndInitializeDexCache()
3260 LinearAlloc* allocator, in AllocArtFieldArray()
3276 LinearAlloc* allocator, in AllocArtMethodArray()
3294 LinearAlloc* ClassLinker::GetAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_loader) { in GetAllocatorForClassLoader()
3298 LinearAlloc* allocator = class_loader->GetAllocator(); in GetAllocatorForClassLoader()
3303 LinearAlloc* ClassLinker::GetOrCreateAllocatorForClassLoader(ObjPtr<mirror::ClassLoader> class_load… in GetOrCreateAllocatorForClassLoader()
3308 LinearAlloc* allocator = class_loader->GetAllocator(); in GetOrCreateAllocatorForClassLoader()
3328 LinearAlloc* const allocator = GetAllocatorForClassLoader(klass->GetClassLoader()); in LoadClassMembers()
3637 LinearAlloc* const linear_alloc = GetOrCreateAllocatorForClassLoader(class_loader); in RegisterDexFile()
[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.h34 class LinearAlloc; variable
199 LinearAlloc* linear_alloc,
Ddex_cache.cc42 LinearAlloc* linear_alloc, in InitializeDexCache()
/art/runtime/jit/
Djit_code_cache.h39 class LinearAlloc; variable
182 void RemoveMethodsIn(Thread* self, const LinearAlloc& alloc)
Djit_code_cache.cc440 void JitCodeCache::RemoveMethodsIn(Thread* self, const LinearAlloc& alloc) { in RemoveMethodsIn()
/art/runtime/openjdkjvmti/
Dti_redefine.cc144 art::LinearAlloc* allocator, in ObsoleteMethodStackVisitor()
162 art::LinearAlloc* allocator, in UpdateObsoleteFrames()
213 art::LinearAlloc* allocator_;
524 art::LinearAlloc* allocator;
527 explicit CallbackCtx(ObsoleteMap* map, art::LinearAlloc* alloc) in CallbackCtx()
/art/compiler/debug/
Delf_debug_info_writer.h474 LinearAlloc* allocator = Runtime::Current()->GetLinearAlloc(); in WriteLinkageName()
/art/runtime/arch/
Dstub_test.cc1898 LinearAlloc* linear_alloc = Runtime::Current()->GetLinearAlloc(); in TEST_F()