diff options
| author | 2015-12-17 14:57:09 +0000 | |
|---|---|---|
| committer | 2016-01-28 15:55:46 +0000 | |
| commit | a42363f79832a6e14f348514664dc6dc3edf9da2 (patch) | |
| tree | bcd43acdf9903a704b566af00b5c740786284b7b /runtime/mirror/class.h | |
| parent | 9cea9139033a4d04437ebc5542e9466fd67137fe (diff) | |
Implement first kind of polymorphic inlining.
Add HClassTableGet to fetch an ArtMethod from the vtable or imt,
and compare it to the only method the profiling saw.
Change-Id: I76afd3689178f10e3be048aa3ac9a97c6f63295d
Diffstat (limited to 'runtime/mirror/class.h')
| -rw-r--r-- | runtime/mirror/class.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/mirror/class.h b/runtime/mirror/class.h index 3017820ea1..be5c6682a2 100644 --- a/runtime/mirror/class.h +++ b/runtime/mirror/class.h @@ -922,6 +922,9 @@ class MANAGED Class FINAL : public Object { ArtMethod* FindDeclaredVirtualMethodByName(const StringPiece& name, size_t pointer_size) SHARED_REQUIRES(Locks::mutator_lock_); + ArtMethod* FindDeclaredDirectMethodByName(const StringPiece& name, size_t pointer_size) + SHARED_REQUIRES(Locks::mutator_lock_); + ArtMethod* FindVirtualMethod(const StringPiece& name, const StringPiece& signature, size_t pointer_size) SHARED_REQUIRES(Locks::mutator_lock_); |