Searched refs:linear_alloc (Results 1 – 12 of 12) sorted by relevance
/aosp12/art/runtime/mirror/ |
H A D | dex_cache.cc | 46 void DexCache::InitializeNativeFields(const DexFile* dex_file, LinearAlloc* linear_alloc) { in InitializeNativeFields() argument 67 AllocArray<StringDexCacheType>(self, linear_alloc, num_strings); in InitializeNativeFields() 69 AllocArray<TypeDexCacheType>(self, linear_alloc, num_types); in InitializeNativeFields() 71 AllocArray<MethodDexCacheType>(self, linear_alloc, num_methods); in InitializeNativeFields() 73 AllocArray<FieldDexCacheType>(self, linear_alloc, num_fields); in InitializeNativeFields() 75 AllocArray<MethodTypeDexCacheType>(self, linear_alloc, num_method_types); in InitializeNativeFields() 77 AllocArray<GcRoot<CallSite>>(self, linear_alloc, num_call_sites); in InitializeNativeFields() 190 LinearAlloc* linear_alloc = Runtime::Current()->GetLinearAlloc(); in AddPreResolvedStringsArray() local 194 linear_alloc->AllocArray<GcRoot<mirror::String>>(self, num_strings); in AddPreResolvedStringsArray()
|
H A D | dex_cache_test.cc | 88 LinearAlloc* const linear_alloc = klass->GetClassLoader()->GetAllocator(); in TEST_F() local 89 EXPECT_NE(linear_alloc, runtime_->GetLinearAlloc()); in TEST_F() 90 EXPECT_TRUE(linear_alloc->Contains(klass->GetDexCache()->GetResolvedMethods())); in TEST_F()
|
H A D | dex_cache.h | 192 void InitializeNativeFields(const DexFile* dex_file, LinearAlloc* linear_alloc)
|
/aosp12/art/runtime/ |
H A D | cha.h | 129 void RemoveDependenciesForLinearAlloc(const LinearAlloc* linear_alloc)
|
H A D | cha.cc | 708 void ClassHierarchyAnalysis::RemoveDependenciesForLinearAlloc(const LinearAlloc* linear_alloc) { in RemoveDependenciesForLinearAlloc() argument 712 if (linear_alloc->ContainsUnsafe(it->first)) { in RemoveDependenciesForLinearAlloc()
|
H A D | stack.cc | 703 LinearAlloc* const linear_alloc = runtime->GetLinearAlloc(); in ValidateFrame() local 704 if (!linear_alloc->Contains(method)) { in ValidateFrame() 713 : linear_alloc; in ValidateFrame()
|
H A D | class_linker.cc | 821 LinearAlloc* linear_alloc = runtime->GetLinearAlloc(); in InitWithoutImage() local 1942 DCHECK(linear_alloc != nullptr); in AddImageSpace() 1947 dex_cache->InitializeNativeFields(dex_file.get(), linear_alloc); in AddImageSpace() 2409 dex_cache->InitializeNativeFields(&dex_file, linear_alloc); in AllocAndInitializeDexCache() 4051 DCHECK(linear_alloc != nullptr); in RegisterDexFile() 4075 h_dex_cache->InitializeNativeFields(&dex_file, linear_alloc); in RegisterDexFile() 6891 ? runtime->CreateImtConflictMethod(linear_alloc) in AddMethodToConflictTable() 6896 void* data = linear_alloc->Alloc( in AddMethodToConflictTable() 7049 void* data = linear_alloc->Alloc(Thread::Current(), in CreateImtConflictTable() 7056 return CreateImtConflictTable(count, linear_alloc, image_pointer_size_); in CreateImtConflictTable() [all …]
|
H A D | class_linker.h | 736 ImtConflictTable* CreateImtConflictTable(size_t count, LinearAlloc* linear_alloc); 740 LinearAlloc* linear_alloc, 962 LinearAlloc* linear_alloc)
|
H A D | runtime.cc | 2476 static ArtMethod* CreateRuntimeMethod(ClassLinker* class_linker, LinearAlloc* linear_alloc) in CreateRuntimeMethod() argument 2483 linear_alloc, in CreateRuntimeMethod() 2492 ArtMethod* Runtime::CreateImtConflictMethod(LinearAlloc* linear_alloc) { in CreateImtConflictMethod() argument 2494 ArtMethod* method = CreateRuntimeMethod(class_linker, linear_alloc); in CreateImtConflictMethod() 2503 method->SetImtConflictTable(class_linker->CreateImtConflictTable(/*count=*/0u, linear_alloc), in CreateImtConflictMethod()
|
H A D | runtime.h | 455 ArtMethod* CreateImtConflictMethod(LinearAlloc* linear_alloc)
|
H A D | Android.bp | 165 "linear_alloc.cc",
|
/aosp12/art/runtime/arch/ |
H A D | stub_test.cc | 1774 LinearAlloc* linear_alloc = Runtime::Current()->GetLinearAlloc(); in TEST_F() local 1775 ArtMethod* conflict_method = Runtime::Current()->CreateImtConflictMethod(linear_alloc); in TEST_F() 1777 Runtime::Current()->GetClassLinker()->CreateImtConflictTable(/*count=*/0u, linear_alloc); in TEST_F() 1778 void* data = linear_alloc->Alloc( in TEST_F()
|