diff options
Diffstat (limited to 'runtime/art_method.h')
| -rw-r--r-- | runtime/art_method.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/art_method.h b/runtime/art_method.h index cd1950c0e2..51b65760a1 100644 --- a/runtime/art_method.h +++ b/runtime/art_method.h @@ -73,6 +73,10 @@ class ArtMethod FINAL { ALWAYS_INLINE mirror::Class* GetDeclaringClassUnchecked() REQUIRES_SHARED(Locks::mutator_lock_); + mirror::CompressedReference<mirror::Object>* GetDeclaringClassAddressWithoutBarrier() { + return declaring_class_.AddressWithoutBarrier(); + } + void SetDeclaringClass(ObjPtr<mirror::Class> new_declaring_class) REQUIRES_SHARED(Locks::mutator_lock_); @@ -691,7 +695,7 @@ class ArtMethod FINAL { // Pointer to JNI function registered to this method, or a function to resolve the JNI function, // or the profiling data for non-native methods, or an ImtConflictTable, or the - // single-implementation of an abstract method. + // single-implementation of an abstract/interface method. void* data_; // Method dispatch from quick compiled code invokes this pointer which may cause bridging into @@ -700,6 +704,8 @@ class ArtMethod FINAL { } ptr_sized_fields_; private: + uint16_t FindObsoleteDexClassDefIndex() REQUIRES_SHARED(Locks::mutator_lock_); + bool IsAnnotatedWith(jclass klass, uint32_t visibility); static constexpr size_t PtrSizedFieldsOffset(PointerSize pointer_size) { |