OSDN Git Service

Combine direct_methods_ and virtual_methods_ fields of mirror::Class
authorAlex Light <allight@google.com>
Fri, 4 Dec 2015 01:38:56 +0000 (17:38 -0800)
committerAlex Light <allight@google.com>
Mon, 14 Dec 2015 22:27:32 +0000 (14:27 -0800)
commit6286a97bea0f584342803a215550038852b24776
tree3571735bdc691bf30e33abb65a95ada8c71a18b7
parent377cb3ba2e1cfe51967e5292268a9aae71ceca8c
Combine direct_methods_ and virtual_methods_ fields of mirror::Class

This makes several parts of the overall runtime simpler and reduces
the size of a class object by 32-bits.

Bug: 24618811

Change-Id: I36129b52189e26898ea56fa2b7b45652e06af236
23 files changed:
compiler/common_compiler_test.cc
compiler/compiled_method.h
compiler/driver/compiled_method_storage.h
compiler/driver/compiler_driver.cc
compiler/driver/compiler_driver_test.cc
compiler/image_writer.cc
compiler/image_writer.h
compiler/oat_test.cc
runtime/asm_support.h
runtime/base/array_slice.h [new file with mode: 0644]
runtime/base/length_prefixed_array.h [moved from runtime/length_prefixed_array.h with 96% similarity]
runtime/class_linker.cc
runtime/class_linker.h
runtime/class_linker_test.cc
runtime/entrypoints/entrypoint_utils.cc
runtime/jni_internal.cc
runtime/mirror/class-inl.h
runtime/mirror/class.cc
runtime/mirror/class.h
runtime/native/java_lang_Class.cc
runtime/native/java_lang_reflect_Method.cc
runtime/native_bridge_art_interface.cc
runtime/proxy_test.cc