Home
last modified time | relevance | path

Searched refs:linear_alloc (Results 1 – 12 of 12) sorted by relevance

/art/runtime/mirror/
Ddex_cache.cc46 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()
Ddex_cache_test.cc88 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()
Ddex_cache.h192 void InitializeNativeFields(const DexFile* dex_file, LinearAlloc* linear_alloc)
/art/runtime/
Dcha.h129 void RemoveDependenciesForLinearAlloc(const LinearAlloc* linear_alloc)
Dcha.cc708 void ClassHierarchyAnalysis::RemoveDependenciesForLinearAlloc(const LinearAlloc* linear_alloc) { in RemoveDependenciesForLinearAlloc() argument
712 if (linear_alloc->ContainsUnsafe(it->first)) { in RemoveDependenciesForLinearAlloc()
Dstack.cc703 LinearAlloc* const linear_alloc = runtime->GetLinearAlloc(); in ValidateFrame() local
704 if (!linear_alloc->Contains(method)) { in ValidateFrame()
713 : linear_alloc; in ValidateFrame()
Dclass_linker.cc821 LinearAlloc* linear_alloc = runtime->GetLinearAlloc(); in InitWithoutImage() local
824 runtime->SetImtConflictMethod(runtime->CreateImtConflictMethod(linear_alloc)); in InitWithoutImage()
825 runtime->SetImtUnimplementedMethod(runtime->CreateImtConflictMethod(linear_alloc)); in InitWithoutImage()
1941 LinearAlloc* linear_alloc = GetOrCreateAllocatorForClassLoader(class_loader.Get()); in AddImageSpace() local
1942 DCHECK(linear_alloc != nullptr); in AddImageSpace()
1943 DCHECK_EQ(linear_alloc == Runtime::Current()->GetLinearAlloc(), !app_image); in AddImageSpace()
1947 dex_cache->InitializeNativeFields(dex_file.get(), linear_alloc); in AddImageSpace()
2405 LinearAlloc* linear_alloc) { in AllocAndInitializeDexCache() argument
2409 dex_cache->InitializeNativeFields(&dex_file, linear_alloc); in AllocAndInitializeDexCache()
4039 LinearAlloc* const linear_alloc = GetOrCreateAllocatorForClassLoader(class_loader); in RegisterDexFile() local
[all …]
Dclass_linker.h736 ImtConflictTable* CreateImtConflictTable(size_t count, LinearAlloc* linear_alloc);
740 LinearAlloc* linear_alloc,
962 LinearAlloc* linear_alloc)
Druntime.cc2476 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()
Druntime.h449 ArtMethod* CreateImtConflictMethod(LinearAlloc* linear_alloc)
DAndroid.bp165 "linear_alloc.cc",
/art/runtime/arch/
Dstub_test.cc1774 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()