summaryrefslogtreecommitdiff
path: root/runtime/art_method.h
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2017-01-27 10:37:34 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-01-27 10:37:36 +0000
commitca21dc47adeed92a15a9d3fd090bdd0e6654679c (patch)
tree59aca3792abfa47c7424e4dac13248651e4662b2 /runtime/art_method.h
parent67c60656639acc92dca2ae8713add7d22683c7b9 (diff)
parente8fcd013493b800227bd7ea5f38f6cc27e9b90d1 (diff)
Merge "Revert "Revert "CHA for abstract methods."""
Diffstat (limited to 'runtime/art_method.h')
-rw-r--r--runtime/art_method.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/art_method.h b/runtime/art_method.h
index 17f343d442..a33111a343 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) {
@@ -684,7 +684,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