diff options
| author | 2016-03-31 12:02:28 +0100 | |
|---|---|---|
| committer | 2016-04-04 17:50:20 +0100 | |
| commit | 9d07e3d128ccfa0ef7670feadd424a825e447d1d (patch) | |
| tree | dfb677fd75f0f297fef9bc49311cf1d22c770f56 /compiler/compiled_method.h | |
| parent | eb98c0ded592cfca8187c744393c82efd1020b2a (diff) | |
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
Diffstat (limited to 'compiler/compiled_method.h')
| -rw-r--r-- | compiler/compiled_method.h | 18 |
1 files changed, 0 insertions, 18 deletions
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<const SrcMapElem>& src_mapping_table, - const ArrayRef<const uint8_t>& mapping_table, const ArrayRef<const uint8_t>& vmap_table, - const ArrayRef<const uint8_t>& native_gc_map, const ArrayRef<const uint8_t>& cfi_info, const ArrayRef<const LinkerPatch>& patches); @@ -393,9 +391,7 @@ class CompiledMethod FINAL : public CompiledCode { const uint32_t core_spill_mask, const uint32_t fp_spill_mask, const ArrayRef<const SrcMapElem>& src_mapping_table, - const ArrayRef<const uint8_t>& mapping_table, const ArrayRef<const uint8_t>& vmap_table, - const ArrayRef<const uint8_t>& native_gc_map, const ArrayRef<const uint8_t>& cfi_info, const ArrayRef<const LinkerPatch>& patches); @@ -417,18 +413,10 @@ class CompiledMethod FINAL : public CompiledCode { return GetArray(src_mapping_table_); } - ArrayRef<const uint8_t> GetMappingTable() const { - return GetArray(mapping_table_); - } - ArrayRef<const uint8_t> GetVmapTable() const { return GetArray(vmap_table_); } - ArrayRef<const uint8_t> GetGcMap() const { - return GetArray(gc_map_); - } - ArrayRef<const uint8_t> 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<SrcMapElem>* 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<uint8_t>* const mapping_table_; // For quick code, a uleb128 encoded map from GPR/FPR register to dex register. Size prefixed. const LengthPrefixedArray<uint8_t>* const vmap_table_; - // For quick code, a map keyed by native PC indices to bitmaps describing what dalvik registers - // are live. - const LengthPrefixedArray<uint8_t>* const gc_map_; // For quick code, a FDE entry for the debug_frame section. const LengthPrefixedArray<uint8_t>* const cfi_info_; // For quick code, linker patches needed by the method. |