From 9d07e3d128ccfa0ef7670feadd424a825e447d1d Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Thu, 31 Mar 2016 12:02:28 +0100 Subject: 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 --- compiler/compiled_method.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'compiler/compiled_method.h') diff --git a/compiler/compiled_method.h b/compiler/compiled_method.h index 70161eb221..9479ff38be 100644 --- a/compiler/compiled_method.h +++ b/compiler/compiled_method.h @@ -377,9 +377,7 @@ class CompiledMethod FINAL : public CompiledCode { const uint32_t core_spill_mask, const uint32_t fp_spill_mask, const ArrayRef& src_mapping_table, - const ArrayRef& mapping_table, const ArrayRef& vmap_table, - const ArrayRef& native_gc_map, const ArrayRef& cfi_info, const ArrayRef& patches); @@ -393,9 +391,7 @@ class CompiledMethod FINAL : public CompiledCode { const uint32_t core_spill_mask, const uint32_t fp_spill_mask, const ArrayRef& src_mapping_table, - const ArrayRef& mapping_table, const ArrayRef& vmap_table, - const ArrayRef& native_gc_map, const ArrayRef& cfi_info, const ArrayRef& patches); @@ -417,18 +413,10 @@ class CompiledMethod FINAL : public CompiledCode { return GetArray(src_mapping_table_); } - ArrayRef GetMappingTable() const { - return GetArray(mapping_table_); - } - ArrayRef GetVmapTable() const { return GetArray(vmap_table_); } - ArrayRef GetGcMap() const { - return GetArray(gc_map_); - } - ArrayRef GetCFIInfo() const { return GetArray(cfi_info_); } @@ -446,14 +434,8 @@ class CompiledMethod FINAL : public CompiledCode { const uint32_t fp_spill_mask_; // For quick code, a set of pairs (PC, DEX) mapping from native PC offset to DEX offset. const LengthPrefixedArray* const src_mapping_table_; - // For quick code, a uleb128 encoded map from native PC offset to dex PC aswell as dex PC to - // native PC offset. Size prefixed. - const LengthPrefixedArray* const mapping_table_; // For quick code, a uleb128 encoded map from GPR/FPR register to dex register. Size prefixed. const LengthPrefixedArray* const vmap_table_; - // For quick code, a map keyed by native PC indices to bitmaps describing what dalvik registers - // are live. - const LengthPrefixedArray* const gc_map_; // For quick code, a FDE entry for the debug_frame section. const LengthPrefixedArray* const cfi_info_; // For quick code, linker patches needed by the method. -- cgit v1.2.3-59-g8ed1b