diff options
Diffstat (limited to 'runtime/art_method.h')
| -rw-r--r-- | runtime/art_method.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/art_method.h b/runtime/art_method.h index 17f343d442..f145d7c416 100644 --- a/runtime/art_method.h +++ b/runtime/art_method.h @@ -456,7 +456,7 @@ class ArtMethod FINAL { } } - ArtMethod* GetSingleImplementation() + ArtMethod* GetSingleImplementation(PointerSize pointer_size) REQUIRES_SHARED(Locks::mutator_lock_); ALWAYS_INLINE void SetSingleImplementation(ArtMethod* method, PointerSize pointer_size) { @@ -563,6 +563,7 @@ class ArtMethod FINAL { mirror::ClassLoader* GetClassLoader() REQUIRES_SHARED(Locks::mutator_lock_); + template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier> mirror::DexCache* GetDexCache() REQUIRES_SHARED(Locks::mutator_lock_); mirror::DexCache* GetObsoleteDexCache() REQUIRES_SHARED(Locks::mutator_lock_); @@ -684,7 +685,8 @@ class ArtMethod FINAL { ArtMethod** dex_cache_resolved_methods_; // 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 profiling data for non-native methods, or an ImtConflictTable, or the + // single-implementation of an abstract method. void* data_; // Method dispatch from quick compiled code invokes this pointer which may cause bridging into |