OSDN Git Service

Clean up OatQuickMethodHeader after Quick removal.
authorVladimir Marko <vmarko@google.com>
Thu, 31 Mar 2016 11:02:28 +0000 (12:02 +0100)
committerVladimir Marko <vmarko@google.com>
Mon, 4 Apr 2016 16:50:20 +0000 (17:50 +0100)
commit9d07e3d128ccfa0ef7670feadd424a825e447d1d
treedfb677fd75f0f297fef9bc49311cf1d22c770f56
parenteb98c0ded592cfca8187c744393c82efd1020b2a
Clean up OatQuickMethodHeader after Quick removal.

This reduces the size of the pre-header by 8 bytes, reducing
oat file size and mmapped .text section size. The memory
needed to store a CompiledMethod by dex2oat is also reduced,
for 32-bit dex2oat by 8B and for 64-bit dex2oat by 16B. The
aosp_flounder-userdebug 32-bit and 64-bit boot.oat are each
about 1.1MiB smaller.

Disable the broken StubTest.IMT, b/27991555 .

Change-Id: I05fe45c28c8ffb7a0fa8b1117b969786748b1039
38 files changed:
build/Android.gtest.mk
compiler/common_compiler_test.cc
compiler/compiled_method.cc
compiler/compiled_method.h
compiler/dex/dex_to_dex_compiler.cc
compiler/driver/compiled_method_storage.cc
compiler/driver/compiled_method_storage.h
compiler/driver/compiled_method_storage_test.cc
compiler/exception_test.cc [moved from runtime/exception_test.cc with 77% similarity]
compiler/gc_map_builder.h [deleted file]
compiler/jni/quick/jni_compiler.cc
compiler/linker/relative_patcher_test.h
compiler/oat_test.cc
compiler/oat_writer.cc
compiler/oat_writer.h
compiler/optimizing/code_generator.cc
compiler/optimizing/optimizing_compiler.cc
imgdiag/imgdiag.cc
oatdump/oatdump.cc
oatdump/oatdump_test.cc
runtime/arch/stub_test.cc
runtime/art_method.cc
runtime/check_reference_map_visitor.h
runtime/entrypoints/entrypoint_utils.cc
runtime/gc_map.h [deleted file]
runtime/jit/jit_code_cache.cc
runtime/jit/jit_code_cache.h
runtime/oat.h
runtime/oat_file-inl.h
runtime/oat_file.cc
runtime/oat_file.h
runtime/oat_quick_method_header.cc
runtime/oat_quick_method_header.h
runtime/stack.cc
runtime/stack.h
runtime/thread.cc
runtime/vmap_table.h [deleted file]
test/004-ReferenceMap/stack_walk_refmap_jni.cc