Home | History | Annotate | Download | only in runtime

Lines Matching refs:DexCache

488   // Set up DexCache. This cannot be done later since AppendToBootClassPath calls AllocDexCache.
490 AllocClass(self, java_lang_Class.Get(), mirror::DexCache::ClassSize(image_pointer_size_))));
493 java_lang_DexCache->SetObjectSize(mirror::DexCache::InstanceSize());
510 // DexCache instances. Needs to be after String, Field, Method arrays since AllocDexCache uses
541 // Object, String and DexCache need to be rerun through FindSystemClass to finish init
548 CheckSystemClass(self, java_lang_DexCache, "Ljava/lang/DexCache;");
549 CHECK_EQ(java_lang_DexCache->GetObjectSize(), mirror::DexCache::InstanceSize());
829 ArtMethod* method = mirror::DexCache::GetElementPtrSize(arr, j, pointer_size);
1230 Handle<mirror::ObjectArray<mirror::DexCache>> dex_caches,
1249 mirror::DexCache* const dex_cache = dex_caches->Get(i);
1270 mirror::DexCache* const dex_cache = dex_caches->Get(i);
1340 mirror::DexCache* existing_dex_cache = FindDexCacheLocked(self,
1541 mirror::ObjectArray<mirror::DexCache>* dex_caches =
1542 dex_caches_object->AsObjectArray<mirror::DexCache>();
1545 mirror::DexCache* dex_cache = dex_caches->Get(i);
1577 Handle<mirror::ObjectArray<mirror::DexCache>> dex_caches(
1578 hs.NewHandle(dex_caches_object->AsObjectArray<mirror::DexCache>()));
1612 MutableHandle<mirror::DexCache> h_dex_cache(hs2.NewHandle<mirror::DexCache>(nullptr));
2062 mirror::DexCache* ClassLinker::AllocDexCache(Thread* self,
2066 auto dex_cache(hs.NewHandle(down_cast<mirror::DexCache*>(
2106 CHECK(mirror::DexCache::GetElementPtrSize(methods, i, image_pointer_size_) == nullptr);
2109 CHECK(mirror::DexCache::GetElementPtrSize(fields, i, image_pointer_size_) == nullptr);
2457 } else if (strcmp(descriptor, "Ljava/lang/DexCache;") == 0) {
2473 mirror::DexCache* dex_cache = RegisterDexFile(dex_file, class_loader.Get());
3175 Handle<mirror::DexCache> dex_cache(hs.NewHandle(AllocDexCache(
3185 Handle<mirror::DexCache> dex_cache) {
3192 Handle<mirror::DexCache> dex_cache) {
3232 mirror::DexCache* ClassLinker::RegisterDexFile(const DexFile& dex_file,
3237 mirror::DexCache* dex_cache = FindDexCacheLocked(self, dex_file, true);
3253 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(AllocDexCache(self, dex_file, linear_alloc)));
3256 mirror::DexCache* dex_cache = FindDexCacheLocked(self, dex_file, true);
3271 Handle<mirror::DexCache> dex_cache) {
3276 mirror::DexCache* ClassLinker::FindDexCache(Thread* self,
3283 mirror::DexCache* ClassLinker::FindDexCacheLocked(Thread* self,
3290 mirror::DexCache* dex_cache =
3291 down_cast<mirror::DexCache*>(self->DecodeJObject(data.weak_root));
3305 mirror::DexCache* dex_cache = down_cast<mirror::DexCache*>(self->DecodeJObject(data.weak_root));
3310 LOG(FATAL) << "Failed to find DexCache for DexFile " << location;
3319 mirror::DexCache* dex_cache = down_cast<mirror::DexCache*>(
3541 mirror::DexCache* dex_cache = klass->GetDexCache();
3628 static std::vector<mirror::ObjectArray<mirror::DexCache>*> GetImageDexCaches(
3631 std::vector<mirror::ObjectArray<mirror::DexCache>*> dex_caches_vector;
3635 dex_caches_vector.push_back(root->AsObjectArray<mirror::DexCache>());
3657 std::vector<mirror::ObjectArray<mirror::DexCache>*> dex_caches_vector =
3659 for (mirror::ObjectArray<mirror::DexCache>* dex_caches : dex_caches_vector) {
3661 mirror::DexCache* dex_cache = dex_caches->Get(i);
3708 std::vector<mirror::ObjectArray<mirror::DexCache>*> dex_caches_vector =
3710 for (mirror::ObjectArray<mirror::DexCache>* dex_caches : dex_caches_vector) {
3712 mirror::DexCache* dex_cache = dex_caches->Get(i);
4293 mirror::DexCache* dex_cache = down_cast<mirror::DexCache*>(
4347 // We steal everything from the prototype (such as DexCache, invoke stub, etc.) then specialize
4609 Handle<mirror::DexCache> dex_cache(hs.NewHandle(klass->GetDexCache()));
7105 auto* m = mirror::DexCache::GetElementPtrSize(resolved_methods, i, image_pointer_size_);
7397 Handle<mirror::DexCache> dex_cache) {
7412 Handle<mirror::DexCache> dex_cache) {
7431 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache()));
7438 Handle<mirror::DexCache> dex_cache,
7473 Handle<mirror::DexCache> dex_cache,
7680 Handle<mirror::DexCache> dex_cache,
7710 Handle<mirror::DexCache> dex_cache,
7753 Handle<mirror::DexCache> dex_cache,
7786 mirror::DexCache* dex_cache = declaring_class->GetDexCache();
7928 "Ljava/lang/DexCache;",
8150 mirror::DexCache* dex_cache =
8151 down_cast<mirror::DexCache*>(soa.Self()->DecodeJObject(data.weak_root));
8180 mirror::DexCache* klass_dex_cache = klass->GetDexCache();
8218 mirror::DexCache* dex_cache =
8219 down_cast<mirror::DexCache*>(soa.Self()->DecodeJObject(data.weak_root));
8257 Handle<mirror::DexCache> dex_cache,
8264 Handle<mirror::DexCache> dex_cache,