diff options
author | 2015-04-22 13:56:20 -0700 | |
---|---|---|
committer | 2015-05-29 18:45:49 -0700 | |
commit | e401d146407d61eeb99f8d6176b2ac13c4df1e33 (patch) | |
tree | 17927f9bfe7d2041b5942c89832d55f9dedb24c5 /runtime/entrypoints/runtime_asm_entrypoints.h | |
parent | 2006b7b9b8e32722bd0d640c62549d8a0ac624b6 (diff) |
Move mirror::ArtMethod to native
Optimizing + quick tests are passing, devices boot.
TODO: Test and fix bugs in mips64.
Saves 16 bytes per most ArtMethod, 7.5MB reduction in system PSS.
Some of the savings are from removal of virtual methods and direct
methods object arrays.
Bug: 19264997
Change-Id: I622469a0cfa0e7082a2119f3d6a9491eb61e3f3d
Diffstat (limited to 'runtime/entrypoints/runtime_asm_entrypoints.h')
-rw-r--r-- | runtime/entrypoints/runtime_asm_entrypoints.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/entrypoints/runtime_asm_entrypoints.h b/runtime/entrypoints/runtime_asm_entrypoints.h index bfe7ee8a34..8209dc808e 100644 --- a/runtime/entrypoints/runtime_asm_entrypoints.h +++ b/runtime/entrypoints/runtime_asm_entrypoints.h @@ -29,19 +29,19 @@ static inline const void* GetJniDlsymLookupStub() { } // Return the address of quick stub code for handling IMT conflicts. -extern "C" void art_quick_imt_conflict_trampoline(mirror::ArtMethod*); +extern "C" void art_quick_imt_conflict_trampoline(ArtMethod*); static inline const void* GetQuickImtConflictStub() { return reinterpret_cast<const void*>(art_quick_imt_conflict_trampoline); } // Return the address of quick stub code for bridging from quick code to the interpreter. -extern "C" void art_quick_to_interpreter_bridge(mirror::ArtMethod*); +extern "C" void art_quick_to_interpreter_bridge(ArtMethod*); static inline const void* GetQuickToInterpreterBridge() { return reinterpret_cast<const void*>(art_quick_to_interpreter_bridge); } // Return the address of quick stub code for handling JNI calls. -extern "C" void art_quick_generic_jni_trampoline(mirror::ArtMethod*); +extern "C" void art_quick_generic_jni_trampoline(ArtMethod*); static inline const void* GetQuickGenericJniStub() { return reinterpret_cast<const void*>(art_quick_generic_jni_trampoline); } @@ -53,7 +53,7 @@ static inline const void* GetQuickProxyInvokeHandler() { } // Return the address of quick stub code for resolving a method at first call. -extern "C" void art_quick_resolution_trampoline(mirror::ArtMethod*); +extern "C" void art_quick_resolution_trampoline(ArtMethod*); static inline const void* GetQuickResolutionStub() { return reinterpret_cast<const void*>(art_quick_resolution_trampoline); } |