Home
last modified time | relevance | path

Searched refs:ref (Results 126 – 150 of 181) sorted by relevance

12345678

/art/runtime/gc/collector/
Dmark_sweep.h190 bool IsNullOrMarkedHeapReference(mirror::HeapReference<mirror::Object>* ref,
218 void MarkHeapReference(mirror::HeapReference<mirror::Object>* ref,
/art/dex2oat/linker/
Dmulti_oat_relative_patcher.h159 std::pair<bool, uint32_t> FindMethodOffset(MethodReference ref) override;
Doat_writer.cc935 void AddBssReference(const DexFileReference& ref, in AddBssReference() argument
940 DCHECK_EQ(dex_file_, ref.dex_file); in AddBssReference()
942 auto refs_it = references->find(ref.dex_file); in AddBssReference()
945 ref.dex_file, in AddBssReference()
949 refs_it->second.SetBit(ref.index); in AddBssReference()
1815 StringReference ref(patch.TargetStringDexFile(), patch.TargetStringIndex()); in VisitMethod() local
1817 writer_->bss_start_ + writer_->bss_string_entries_.Get(ref); in VisitMethod()
1833 TypeReference ref(patch.TargetTypeDexFile(), patch.TargetTypeIndex()); in VisitMethod() local
1834 uint32_t target_offset = writer_->bss_start_ + writer_->bss_type_entries_.Get(ref); in VisitMethod()
1914 MethodReference ref = patch.TargetMethod(); in GetTargetMethod() local
[all …]
/art/test/1976-hello-structural-static-methods/src/art/
DTest1976.java19 import java.lang.ref.*;
/art/test/903-hello-tagging/src/art/
DTest903.java19 import java.lang.ref.WeakReference;
/art/tools/ahat/
DREADME.txt58 Recognize java.lang.ref.Finalizer as a finalizer reference.
97 Show java.lang.ref.Reference referents as "unreachable" instead of null.
/art/runtime/
Dquick_exception_handler.cc445 mirror::Object* ref = ref_addr->AsMirrorPtr(); in HandleNterpDeoptimization() local
446 if (ref != nullptr) { in HandleNterpDeoptimization()
447 new_frame->SetVRegReference(reg, ref); in HandleNterpDeoptimization()
Dreflection.cc1044 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in UpdateReference() local
1045 IndirectRefKind kind = IndirectReferenceTable::GetIndirectRefKind(ref); in UpdateReference()
1051 self->GetJniEnv()->GetVm()->UpdateGlobal(self, ref, result); in UpdateReference()
1054 self->GetJniEnv()->GetVm()->UpdateWeakGlobal(self, ref, result); in UpdateReference()
/art/compiler/dex/
Dinline_method_analyser.cc513 bool InlineMethodAnalyser::IsSyntheticAccessor(MethodReference ref) { in IsSyntheticAccessor() argument
514 const dex::MethodId& method_id = ref.dex_file->GetMethodId(ref.index); in IsSyntheticAccessor()
515 const char* method_name = ref.dex_file->GetMethodName(method_id); in IsSyntheticAccessor()
/art/test/1909-per-agent-tls/src/art/
DTest1909.java19 import java.lang.ref.WeakReference;
/art/compiler/optimizing/
Dcode_generator_arm_vixl.h668 Location ref,
675 Location ref,
682 void GenerateArrayLoadWithBakerReadBarrier(Location ref,
731 Location ref,
741 Location ref,
Dcode_generator_arm64.h810 Location ref,
818 Location ref,
827 Location ref,
869 Location ref,
879 Location ref,
/art/tools/ahat/src/main/com/android/ahat/
DObjectHandler.java231 for (AhatInstance ref : selector.selected()) { in printReferences()
232 doc.row(Summarizer.summarize(ref)); in printReferences()
/art/libprofile/profile/
Dprofile_compilation_info.cc141 ClassReference ref(dex_profile_idx, type_idx); in AddClass() local
142 auto it = classes.find(ref); in AddClass()
156 classes.insert(ref); in AddClass()
717 DexFileData* const data = GetOrAddDexFileData(pmi.ref.dex_file, annotation); in AddMethod()
721 if (!data->AddMethod(flags, pmi.ref.index)) { in AddMethod()
734 InlineCacheMap* inline_cache = data->FindOrAddHotMethod(pmi.ref.index); in AddMethod()
2329 MethodReference ref(dex_file.get(), method_idx); in ExtractProfileData() local
2331 result->method_metadata_.GetOrCreate(ref, create_metadata_fn); in ExtractProfileData()
2344 TypeReference ref(dex_file.get(), type_index); in ExtractProfileData() local
2346 result->class_metadata_.GetOrCreate(ref, create_metadata_fn); in ExtractProfileData()
Dprofile_compilation_info.h55 explicit ProfileMethodInfo(MethodReference reference) : ref(reference) {} in ProfileMethodInfo()
58 : ref(reference), in ProfileMethodInfo()
61 MethodReference ref; member
Dprofile_compilation_info_test.cc1483 MethodReference ref(dex1, 0); in TEST_F() local
1485 EXPECT_FALSE(info.GetMethodHotness(ref, not_exisiting).IsInProfile()); in TEST_F()
1486 EXPECT_FALSE(info.GetHotMethodInfo(ref, not_exisiting) != nullptr); in TEST_F()
1660 MethodReference ref(dex1, 0); in TEST_F() local
1663 ASSERT_TRUE(info.AddMethod(ProfileMethodInfo(ref), Hotness::kFlagHot, psa1)); in TEST_F()
1676 MethodReference ref(dex1, 0); in TEST_F() local
1679 ASSERT_TRUE(info.AddMethod(ProfileMethodInfo(ref), Hotness::kFlagHot, psa1)); in TEST_F()
1682 EXPECT_TRUE(info.GetMethodHotness(ref, psa1).IsInProfile()); in TEST_F()
1687 EXPECT_TRUE(info.GetMethodHotness(ref).IsInProfile()); in TEST_F()
/art/test/530-checker-lse/src/
DMain.java717 static java.lang.ref.WeakReference<Object> getWeakReference() { in getWeakReference()
718 return new java.lang.ref.WeakReference<>(new Object()); in getWeakReference()
723 java.lang.ref.WeakReference<Object> reference = getWeakReference(); in testFinalizableByForcingGc()
/art/runtime/interpreter/
Dinterpreter_common.h75 static inline void DoMonitorEnter(Thread* self, ShadowFrame* frame, ObjPtr<mirror::Object> ref) in DoMonitorEnter() argument
78 DCHECK(!ref.IsNull()); in DoMonitorEnter()
80 Handle<mirror::Object> h_ref(hs.NewHandle(ref)); in DoMonitorEnter()
94 static inline void DoMonitorExit(Thread* self, ShadowFrame* frame, ObjPtr<mirror::Object> ref) in DoMonitorExit() argument
98 Handle<mirror::Object> h_ref(hs.NewHandle(ref)); in DoMonitorExit()
/art/test/130-hprof/src/
DMain.java18 import java.lang.ref.WeakReference;
/art/openjdkjvmti/
Dti_heap.cc1624 [&](art::mirror::Object* ref) REQUIRES_SHARED(art::Locks::mutator_lock_) { in ReplaceObjectReferences()
1629 explicit ResizeReferenceVisitor(const ObjectMap& map, ObjectPtr ref) in ReplaceObjectReferences()
1630 : map_(map), ref_(ref) {} in ReplaceObjectReferences()
1672 art::ObjPtr<art::mirror::Reference> ref) const in ReplaceObjectReferences()
1674 operator()(ref, art::mirror::Reference::ReferentOffset(), /* is_static */ false); in ReplaceObjectReferences()
1682 ResizeReferenceVisitor rrv(map, ref); in ReplaceObjectReferences()
1683 if (ref->IsClass()) { in ReplaceObjectReferences()
1690 ref->VisitReferences</*kVisitNativeRoots*/false>(rrv, rrv); in ReplaceObjectReferences()
1692 ref->VisitReferences</*kVisitNativeRoots*/true>(rrv, rrv); in ReplaceObjectReferences()
/art/dex2oat/
Ddex2oat_image_test.cc241 [&](TypeReference ref) { in TEST_F() argument
242 WriteLine(classes.GetFile(), ref.dex_file->PrettyType(ref.TypeIndex())); in TEST_F()
/art/test/074-gc-thrash/src/
DMain.java18 import java.lang.ref.WeakReference;
/art/runtime/interpreter/mterp/x86_64ng/
Darray.S115 GET_VREG %ecx, rINSTq # ecx <- vB (object ref)
/art/runtime/interpreter/mterp/x86_64/
Darray.S120 GET_VREG %ecx, rINSTq # ecx <- vB (object ref)
/art/test/1975-hello-structural-transformation/src/art/
DTest1975.java21 import java.lang.ref.*;

12345678