/art/runtime/entrypoints/quick/ |
D | quick_entrypoints_list.h | 23 V(AllocArrayResolved, void*, mirror::Class*, int32_t) \ 24 V(AllocArrayResolved8, void*, mirror::Class*, int32_t) \ 25 V(AllocArrayResolved16, void*, mirror::Class*, int32_t) \ 26 V(AllocArrayResolved32, void*, mirror::Class*, int32_t) \ 27 V(AllocArrayResolved64, void*, mirror::Class*, int32_t) \ 28 V(AllocObjectResolved, void*, mirror::Class*) \ 29 V(AllocObjectInitialized, void*, mirror::Class*) \ 30 V(AllocObjectWithChecks, void*, mirror::Class*) \ 33 V(AllocStringObject, void*, mirror::Class*) \ 38 V(InstanceofNonTrivial, size_t, mirror::Object*, mirror::Class*) \ [all …]
|
D | quick_alloc_entrypoints.cc | 38 static ALWAYS_INLINE inline mirror::Object* artAllocObjectFromCode( in artAllocObjectFromCode() 39 mirror::Class* klass, in artAllocObjectFromCode() 48 mirror::Object* obj; in artAllocObjectFromCode() 72 extern "C" mirror::Object* artAllocObjectFromCodeWithChecks##suffix##suffix2( \ 73 mirror::Class* klass, Thread* self) \ 77 extern "C" mirror::Object* artAllocObjectFromCodeResolved##suffix##suffix2( \ 78 mirror::Class* klass, Thread* self) \ 82 extern "C" mirror::Object* artAllocObjectFromCodeInitialized##suffix##suffix2( \ 83 mirror::Class* klass, Thread* self) \ 87 extern "C" mirror::String* artAllocStringObject##suffix##suffix2( \ [all …]
|
/art/runtime/arch/arm64/ |
D | entrypoints_init_arm64.cc | 35 extern "C" size_t artInstanceOfFromCode(mirror::Object* obj, mirror::Class* ref_class); 42 extern "C" mirror::Object* art_quick_read_barrier_mark_reg00(mirror::Object*); 43 extern "C" mirror::Object* art_quick_read_barrier_mark_reg01(mirror::Object*); 44 extern "C" mirror::Object* art_quick_read_barrier_mark_reg02(mirror::Object*); 45 extern "C" mirror::Object* art_quick_read_barrier_mark_reg03(mirror::Object*); 46 extern "C" mirror::Object* art_quick_read_barrier_mark_reg04(mirror::Object*); 47 extern "C" mirror::Object* art_quick_read_barrier_mark_reg05(mirror::Object*); 48 extern "C" mirror::Object* art_quick_read_barrier_mark_reg06(mirror::Object*); 49 extern "C" mirror::Object* art_quick_read_barrier_mark_reg07(mirror::Object*); 50 extern "C" mirror::Object* art_quick_read_barrier_mark_reg08(mirror::Object*); [all …]
|
/art/runtime/ |
D | class_root.h | 29 namespace mirror { 56 …M(kJavaLangClass, "Ljava/lang/Class;", mirror::Cl… 57 …M(kJavaLangObject, "Ljava/lang/Object;", mirror::Ob… 58 … "[Ljava/lang/Class;", mirror::ObjectArray<mirror::Class>)… 59 … "[Ljava/lang/Object;", mirror::ObjectArray<mirror::Object>… 60 …M(kJavaLangString, "Ljava/lang/String;", mirror::St… 61 …M(kJavaLangDexCache, "Ljava/lang/DexCache;", mirror::De… 62 …M(kJavaLangRefReference, "Ljava/lang/ref/Reference;", mirror::Re… 63 …M(kJavaLangReflectConstructor, "Ljava/lang/reflect/Constructor;", mirror::Co… 64 …M(kJavaLangReflectField, "Ljava/lang/reflect/Field;", mirror::Fi… [all …]
|
D | method_handles.h | 31 namespace mirror { 38 bool IsParameterTypeConvertible(ObjPtr<mirror::Class> from, 39 ObjPtr<mirror::Class> to); 43 bool IsReturnTypeConvertible(ObjPtr<mirror::Class> from, 44 ObjPtr<mirror::Class> to); 50 bool ConvertJValueCommon(Handle<mirror::MethodType> callsite_type, 51 Handle<mirror::MethodType> callee_type, 52 ObjPtr<mirror::Class> from, 53 ObjPtr<mirror::Class> to, 61 ALWAYS_INLINE bool ConvertArgumentValue(Handle<mirror::MethodType> callsite_type, [all …]
|
D | class_linker.h | 59 namespace mirror { 101 virtual bool operator()(ObjPtr<mirror::Class> klass) = 0; 107 virtual void Visit(ObjPtr<mirror::ClassLoader> class_loader) 150 Handle<mirror::ClassLoader> class_loader, 166 ObjPtr<mirror::Class> FindClass(Thread* self, 168 Handle<mirror::ClassLoader> class_loader) 174 ObjPtr<mirror::Class> FindSystemClass(Thread* self, const char* descriptor) in FindSystemClass() 177 return FindClass(self, descriptor, ScopedNullHandle<mirror::ClassLoader>()); in FindSystemClass() 181 ObjPtr<mirror::Class> FindArrayClass(Thread* self, ObjPtr<mirror::Class> element_class) 191 ObjPtr<mirror::Class> DefineClass(Thread* self, [all …]
|
D | class_linker_test.cc | 71 Handle<mirror::Object> exception = hs.NewHandle<mirror::Object>(self->GetException()); in AssertNonExistentClass() 73 ObjPtr<mirror::Class> exception_class = in AssertNonExistentClass() 84 void AssertPrimitiveClass(const std::string& descriptor, ObjPtr<mirror::Class> primitive) in AssertPrimitiveClass() 123 void AssertObjectClass(ObjPtr<mirror::Class> JavaLangObject) in AssertObjectClass() 181 ObjPtr<mirror::ClassLoader> class_loader) in AssertArrayClass() 185 Handle<mirror::ClassLoader> loader(hs.NewHandle(class_loader)); in AssertArrayClass() 186 Handle<mirror::Class> array( in AssertArrayClass() 195 void AssertArrayClass(const std::string& array_descriptor, Handle<mirror::Class> array) in AssertArrayClass() 233 ObjPtr<mirror::Class> direct_interface0 = in AssertArrayClass() 234 mirror::Class::GetDirectInterface(self, array.Get(), 0); in AssertArrayClass() [all …]
|
D | art_field.h | 33 namespace mirror { 44 ObjPtr<mirror::Class> GetDeclaringClass() REQUIRES_SHARED(Locks::mutator_lock_); 46 ObjPtr<mirror::ClassLoader> GetClassLoader() REQUIRES_SHARED(Locks::mutator_lock_); 48 void SetDeclaringClass(ObjPtr<mirror::Class> new_declaring_class) 51 mirror::CompressedReference<mirror::Object>* GetDeclaringClassAddressWithoutBarrier() { in GetDeclaringClassAddressWithoutBarrier() 105 uint8_t GetBoolean(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_); 108 void SetBoolean(ObjPtr<mirror::Object> object, uint8_t z) REQUIRES_SHARED(Locks::mutator_lock_); 110 int8_t GetByte(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_); 113 void SetByte(ObjPtr<mirror::Object> object, int8_t b) REQUIRES_SHARED(Locks::mutator_lock_); 115 uint16_t GetChar(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_); [all …]
|
D | class_linker-inl.h | 39 inline ObjPtr<mirror::Class> ClassLinker::FindArrayClass(Thread* self, in FindArrayClass() 40 ObjPtr<mirror::Class> element_class) { in FindArrayClass() 43 ObjPtr<mirror::Class> array_class = find_array_class_cache_[i].Read(); in FindArrayClass() 52 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(element_class->GetClassLoader())); in FindArrayClass() 53 ObjPtr<mirror::Class> array_class = FindClass(self, descriptor.c_str(), class_loader); in FindArrayClass() 57 find_array_class_cache_[victim_index] = GcRoot<mirror::Class>(array_class); in FindArrayClass() 66 inline ObjPtr<mirror::String> ClassLinker::ResolveString(dex::StringIndex string_idx, in ResolveString() 72 ObjPtr<mirror::String> resolved = in ResolveString() 80 inline ObjPtr<mirror::String> ClassLinker::ResolveString(dex::StringIndex string_idx, in ResolveString() 86 ObjPtr<mirror::String> resolved = in ResolveString() [all …]
|
D | intern_table_test.cc | 36 Handle<mirror::String> foo_1(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F() 37 Handle<mirror::String> foo_2(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F() 38 Handle<mirror::String> foo_3( in TEST_F() 39 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); in TEST_F() 40 Handle<mirror::String> bar(hs.NewHandle(intern_table.InternStrong(3, "bar"))); in TEST_F() 60 Handle<mirror::String> foo( in TEST_F() 61 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); in TEST_F() 78 GcRoot<mirror::String> str(mirror::String::AllocFromModifiedUtf8(soa.Self(), "00000000")); in TEST_F() 89 mirror::Object* IsMarked(mirror::Object* s) override REQUIRES_SHARED(Locks::mutator_lock_) { in IsMarked() 102 void Expect(const mirror::String* s) { in Expect() [all …]
|
D | intern_table.h | 45 namespace mirror { 80 std::size_t operator()(const GcRoot<mirror::String>& root) const NO_THREAD_SAFETY_ANALYSIS; 81 bool operator()(const GcRoot<mirror::String>& a, const GcRoot<mirror::String>& b) const 90 bool operator()(const GcRoot<mirror::String>& a, const Utf8String& b) const 96 void MakeEmpty(GcRoot<mirror::String>& item) const { in MakeEmpty() 97 item = GcRoot<mirror::String>(); in MakeEmpty() 99 bool IsEmpty(const GcRoot<mirror::String>& item) const { in IsEmpty() 104 using UnorderedSet = HashSet<GcRoot<mirror::String>, 108 TrackingAllocator<GcRoot<mirror::String>, kAllocatorTagInternTable>>; 113 ObjPtr<mirror::String> InternStrong(int32_t utf16_length, const char* utf8_data) [all …]
|
D | class_loader_utils.h | 35 Handle<mirror::ClassLoader> class_loader) in IsPathOrDexClassLoader() 37 ObjPtr<mirror::Class> class_loader_class = class_loader->GetClass(); in IsPathOrDexClassLoader() 40 soa.Decode<mirror::Class>(WellKnownClasses::dalvik_system_PathClassLoader)) || in IsPathOrDexClassLoader() 42 soa.Decode<mirror::Class>(WellKnownClasses::dalvik_system_DexClassLoader)); in IsPathOrDexClassLoader() 47 Handle<mirror::ClassLoader> class_loader) in IsInMemoryDexClassLoader() 49 ObjPtr<mirror::Class> class_loader_class = class_loader->GetClass(); in IsInMemoryDexClassLoader() 51 soa.Decode<mirror::Class>(WellKnownClasses::dalvik_system_InMemoryDexClassLoader)); in IsInMemoryDexClassLoader() 55 Handle<mirror::ClassLoader> class_loader) in IsDelegateLastClassLoader() 57 ObjPtr<mirror::Class> class_loader_class = class_loader->GetClass(); in IsDelegateLastClassLoader() 59 soa.Decode<mirror::Class>(WellKnownClasses::dalvik_system_DelegateLastClassLoader); in IsDelegateLastClassLoader() [all …]
|
/art/runtime/dex/ |
D | dex_file_annotations.h | 28 namespace mirror { 38 ObjPtr<mirror::Object> GetAnnotationForField(ArtField* field, 39 Handle<mirror::Class> annotation_class) 41 ObjPtr<mirror::ObjectArray<mirror::Object>> GetAnnotationsForField(ArtField* field) 43 ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForField(ArtField* field) 45 bool IsFieldAnnotationPresent(ArtField* field, Handle<mirror::Class> annotation_class) 49 ObjPtr<mirror::Object> GetAnnotationDefaultValue(ArtMethod* method) 51 ObjPtr<mirror::Object> GetAnnotationForMethod(ArtMethod* method, 52 Handle<mirror::Class> annotation_class) 54 ObjPtr<mirror::ObjectArray<mirror::Object>> GetAnnotationsForMethod(ArtMethod* method) [all …]
|
/art/compiler/optimizing/ |
D | intrinsic_objects.cc | 29 static ObjPtr<mirror::ObjectArray<mirror::Object>> LookupIntegerCache(Thread* self, in LookupIntegerCache() 32 ObjPtr<mirror::Class> integer_cache_class = class_linker->LookupClass( in LookupIntegerCache() 40 ObjPtr<mirror::ObjectArray<mirror::Object>> integer_cache = in LookupIntegerCache() 41 ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast( in LookupIntegerCache() 47 ObjPtr<mirror::ObjectArray<mirror::Object>> IntrinsicObjects::AllocateBootImageLiveObjects( in AllocateBootImageLiveObjects() 54 Handle<mirror::ObjectArray<mirror::Object>> integer_cache = in AllocateBootImageLiveObjects() 58 ObjPtr<mirror::ObjectArray<mirror::Object>> live_objects = in AllocateBootImageLiveObjects() 59 mirror::ObjectArray<mirror::Object>::Alloc( in AllocateBootImageLiveObjects() 60 self, GetClassRoot<mirror::ObjectArray<mirror::Object>>(class_linker), live_objects_size); in AllocateBootImageLiveObjects() 79 ObjPtr<mirror::ObjectArray<mirror::Object>> IntrinsicObjects::GetIntegerValueOfCache( in GetIntegerValueOfCache() [all …]
|
/art/runtime/arch/x86_64/ |
D | entrypoints_init_x86_64.cc | 33 extern "C" size_t art_quick_instance_of(mirror::Object* obj, mirror::Class* ref_class); 40 extern "C" mirror::Object* art_quick_read_barrier_mark_reg00(mirror::Object*); 41 extern "C" mirror::Object* art_quick_read_barrier_mark_reg01(mirror::Object*); 42 extern "C" mirror::Object* art_quick_read_barrier_mark_reg02(mirror::Object*); 43 extern "C" mirror::Object* art_quick_read_barrier_mark_reg03(mirror::Object*); 44 extern "C" mirror::Object* art_quick_read_barrier_mark_reg05(mirror::Object*); 45 extern "C" mirror::Object* art_quick_read_barrier_mark_reg06(mirror::Object*); 46 extern "C" mirror::Object* art_quick_read_barrier_mark_reg07(mirror::Object*); 47 extern "C" mirror::Object* art_quick_read_barrier_mark_reg08(mirror::Object*); 48 extern "C" mirror::Object* art_quick_read_barrier_mark_reg09(mirror::Object*); [all …]
|
/art/runtime/arch/mips64/ |
D | entrypoints_init_mips64.cc | 36 extern "C" size_t artInstanceOfFromCode(mirror::Object* obj, mirror::Class* ref_class); 43 extern "C" mirror::Object* art_quick_read_barrier_mark_reg01(mirror::Object*); 44 extern "C" mirror::Object* art_quick_read_barrier_mark_reg02(mirror::Object*); 45 extern "C" mirror::Object* art_quick_read_barrier_mark_reg03(mirror::Object*); 46 extern "C" mirror::Object* art_quick_read_barrier_mark_reg04(mirror::Object*); 47 extern "C" mirror::Object* art_quick_read_barrier_mark_reg05(mirror::Object*); 48 extern "C" mirror::Object* art_quick_read_barrier_mark_reg06(mirror::Object*); 49 extern "C" mirror::Object* art_quick_read_barrier_mark_reg07(mirror::Object*); 50 extern "C" mirror::Object* art_quick_read_barrier_mark_reg08(mirror::Object*); 51 extern "C" mirror::Object* art_quick_read_barrier_mark_reg09(mirror::Object*); [all …]
|
/art/runtime/arch/arm/ |
D | entrypoints_init_arm.cc | 35 extern "C" size_t artInstanceOfFromCode(mirror::Object* obj, mirror::Class* ref_class); 42 extern "C" mirror::Object* art_quick_read_barrier_mark_reg00(mirror::Object*); 43 extern "C" mirror::Object* art_quick_read_barrier_mark_reg01(mirror::Object*); 44 extern "C" mirror::Object* art_quick_read_barrier_mark_reg02(mirror::Object*); 45 extern "C" mirror::Object* art_quick_read_barrier_mark_reg03(mirror::Object*); 46 extern "C" mirror::Object* art_quick_read_barrier_mark_reg04(mirror::Object*); 47 extern "C" mirror::Object* art_quick_read_barrier_mark_reg05(mirror::Object*); 48 extern "C" mirror::Object* art_quick_read_barrier_mark_reg06(mirror::Object*); 49 extern "C" mirror::Object* art_quick_read_barrier_mark_reg07(mirror::Object*); 50 extern "C" mirror::Object* art_quick_read_barrier_mark_reg08(mirror::Object*); [all …]
|
/art/runtime/mirror/ |
D | method_type_test.cc | 33 namespace mirror { namespace 41 static ObjPtr<mirror::MethodType> CreateMethodType(const std::string& return_type, in CreateMethodType() 52 Handle<mirror::ClassLoader> boot_class_loader = hs.NewHandle<mirror::ClassLoader>(nullptr); in CreateMethodType() 54 Handle<mirror::Class> return_clazz = hs.NewHandle(class_linker->FindClass( in CreateMethodType() 58 ObjPtr<mirror::Class> class_array_type = in CreateMethodType() 59 GetClassRoot<mirror::ObjectArray<mirror::Class>>(class_linker); in CreateMethodType() 60 Handle<mirror::ObjectArray<mirror::Class>> param_classes = hs.NewHandle( in CreateMethodType() 61 mirror::ObjectArray<mirror::Class>::Alloc(self, class_array_type, param_types.size())); in CreateMethodType() 64 Handle<mirror::Class> param = hs.NewHandle(class_linker->FindClass( in CreateMethodType() 69 return mirror::MethodType::Create(self, return_clazz, param_classes); in CreateMethodType() [all …]
|
D | emulated_stack_frame.h | 30 namespace mirror { 39 static ObjPtr<mirror::EmulatedStackFrame> CreateFromShadowFrameAndArgs( 41 Handle<mirror::MethodType> args_type, 42 Handle<mirror::MethodType> frame_type, 50 Handle<mirror::MethodType> callee_type, 60 ObjPtr<mirror::MethodType> GetType() REQUIRES_SHARED(Locks::mutator_lock_); 62 ObjPtr<mirror::Object> GetReceiver() REQUIRES_SHARED(Locks::mutator_lock_); 65 ObjPtr<mirror::ObjectArray<mirror::Object>> GetReferences() REQUIRES_SHARED(Locks::mutator_lock_); 67 ObjPtr<mirror::ByteArray> GetStackFrame() REQUIRES_SHARED(Locks::mutator_lock_); 85 HeapReference<mirror::MethodType> callsite_type_; [all …]
|
D | emulated_stack_frame.cc | 33 namespace mirror { namespace 37 static void CalculateFrameAndReferencesSize(ObjPtr<mirror::ObjectArray<mirror::Class>> p_types, in CalculateFrameAndReferencesSize() 38 ObjPtr<mirror::Class> r_type, in CalculateFrameAndReferencesSize() 46 ObjPtr<mirror::Class> type = p_types->GetWithoutChecks(i); in CalculateFrameAndReferencesSize() 78 EmulatedStackFrameAccessor(Handle<mirror::ObjectArray<mirror::Object>> references, in EmulatedStackFrameAccessor() 79 Handle<mirror::ByteArray> stack_frame, in EmulatedStackFrameAccessor() 88 ALWAYS_INLINE void SetReference(ObjPtr<mirror::Object> reference) in SetReference() 109 ALWAYS_INLINE ObjPtr<mirror::Object> GetReference() REQUIRES_SHARED(Locks::mutator_lock_) { in GetReference() 136 Handle<mirror::ObjectArray<mirror::Object>> references_; 137 Handle<mirror::ByteArray> stack_frame_; [all …]
|
D | emulated_stack_frame-inl.h | 27 namespace mirror { 29 inline ObjPtr<mirror::MethodType> EmulatedStackFrame::GetType() { in GetType() 33 inline ObjPtr<mirror::Object> EmulatedStackFrame::GetReceiver() { in GetReceiver() 37 inline ObjPtr<mirror::ObjectArray<mirror::Object>> EmulatedStackFrame::GetReferences() { in GetReferences() 38 return GetFieldObject<mirror::ObjectArray<mirror::Object>>( in GetReferences() 42 inline ObjPtr<mirror::ByteArray> EmulatedStackFrame::GetStackFrame() { in GetStackFrame() 43 return GetFieldObject<mirror::ByteArray>( in GetStackFrame()
|
/art/runtime/native/ |
D | java_lang_System.cc | 42 ObjPtr<mirror::Object> array) in ThrowArrayStoreException_NotAnArray() 44 std::string actualType(mirror::Object::PrettyTypeOf(array)); in ThrowArrayStoreException_NotAnArray() 67 ObjPtr<mirror::Object> srcObject = soa.Decode<mirror::Object>(javaSrc); in System_arraycopy() 72 ObjPtr<mirror::Object> dstObject = soa.Decode<mirror::Object>(javaDst); in System_arraycopy() 77 ObjPtr<mirror::Array> srcArray = srcObject->AsArray(); in System_arraycopy() 78 ObjPtr<mirror::Array> dstArray = dstObject->AsArray(); in System_arraycopy() 91 ObjPtr<mirror::Class> dstComponentType = dstArray->GetClass()->GetComponentType(); in System_arraycopy() 92 ObjPtr<mirror::Class> srcComponentType = srcArray->GetClass()->GetComponentType(); in System_arraycopy() 105 ObjPtr<mirror::ByteArray>::DownCast(dstArray)->Memmove( in System_arraycopy() 106 dstPos, ObjPtr<mirror::ByteArray>::DownCast(srcArray), srcPos, count); in System_arraycopy() [all …]
|
D | java_lang_String.cc | 38 return soa.Decode<mirror::String>(java_this)->CharAt(index); in String_charAt() 47 return soa.Decode<mirror::String>(java_this)->CompareTo(soa.Decode<mirror::String>(java_rhs)); in String_compareTo() 58 Handle<mirror::String> string_this(hs.NewHandle(soa.Decode<mirror::String>(java_this))); in String_concat() 59 Handle<mirror::String> string_arg(hs.NewHandle(soa.Decode<mirror::String>(java_string_arg))); in String_concat() 63 ObjPtr<mirror::String> result = in String_concat() 64 mirror::String::AllocFromStrings(soa.Self(), string_this, string_arg); in String_concat() 74 Handle<mirror::String> string_this(hs.NewHandle(soa.Decode<mirror::String>(java_this))); in String_fastSubstring() 76 ObjPtr<mirror::String> result = mirror::String::AllocFromString<true>(soa.Self(), in String_fastSubstring() 88 Handle<mirror::CharArray> char_array(hs.NewHandle(soa.Decode<mirror::CharArray>(buffer))); in String_getCharsNoCheck() 89 soa.Decode<mirror::String>(java_this)->GetChars(start, end, char_array, index); in String_getCharsNoCheck() [all …]
|
/art/test/497-inlining-and-class-loader/ |
D | clear_dex_cache.cc | 35 ObjPtr<mirror::DexCache> dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_cloneResolvedMethods() 37 mirror::MethodDexCacheType* methods = dex_cache->GetResolvedMethods(); in Java_Main_cloneResolvedMethods() 49 ObjPtr<mirror::Array> decoded_array = soa.Decode<mirror::Array>(array); in Java_Main_cloneResolvedMethods() 51 auto pair = mirror::DexCache::GetNativePairPtrSize(methods, i, kRuntimePointerSize); in Java_Main_cloneResolvedMethods() 55 ObjPtr<mirror::IntArray> int_array = ObjPtr<mirror::IntArray>::DownCast(decoded_array); in Java_Main_cloneResolvedMethods() 59 ObjPtr<mirror::LongArray> long_array = ObjPtr<mirror::LongArray>::DownCast(decoded_array); in Java_Main_cloneResolvedMethods() 70 ObjPtr<mirror::DexCache> dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_restoreResolvedMethods() 72 mirror::MethodDexCacheType* methods = dex_cache->GetResolvedMethods(); in Java_Main_restoreResolvedMethods() 74 ObjPtr<mirror::Array> old = soa.Decode<mirror::Array>(old_cache); in Java_Main_restoreResolvedMethods() 81 ObjPtr<mirror::IntArray> int_array = ObjPtr<mirror::IntArray>::DownCast(old); in Java_Main_restoreResolvedMethods() [all …]
|
/art/openjdkjvmti/ |
D | ti_class_loader.cc | 64 art::Handle<art::mirror::ClassLoader> loader, in AddToClassLoader() 72 art::Handle<art::mirror::Object> java_dex_file_obj( in AddToClassLoader() 77 art::Handle<art::mirror::LongArray> old_cookie(hs.NewHandle(GetDexFileCookie(java_dex_file_obj))); in AddToClassLoader() 78 art::Handle<art::mirror::LongArray> cookie(hs.NewHandle( in AddToClassLoader() 88 void ClassLoaderHelper::UpdateJavaDexFile(art::ObjPtr<art::mirror::Object> java_dex_file, in UpdateJavaDexFile() 89 art::ObjPtr<art::mirror::LongArray> new_cookie) { in UpdateJavaDexFile() 95 art::ObjPtr<art::mirror::LongArray> orig_cookie( in UpdateJavaDexFile() 103 art::ObjPtr<art::mirror::LongArray> ClassLoaderHelper::GetDexFileCookie( in GetDexFileCookie() 104 art::Handle<art::mirror::Object> java_dex_file_obj) { in GetDexFileCookie() 115 art::ObjPtr<art::mirror::LongArray> ClassLoaderHelper::AllocateNewDexFileCookie( in AllocateNewDexFileCookie() [all …]
|