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:54:01 +0000 (14:54 -0800)
commit9539150b85142c18e9e8c2264b5b6100942667c3
tree733f2af56f94cbac19ac29f62d85850df2fd7b7d
parent1997d7cef12ac9906c23b59fdaa9f7f68344b98d
Combine direct_methods_ and virtual_methods_ fields of mirror::Class

Manual cherry-pick of 6286a97 to master

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