summaryrefslogtreecommitdiffstats
path: root/compiler/compiled_method.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2018-01-24 18:17:55 -0800
committerMathieu Chartier <mathieuc@google.com>2018-02-05 13:38:20 -0800
commit279e3a3499d208daf467a1690b111dfb06f3e96e (patch)
tree74c7d6d860bea25aabae47dc0ca95bafb0571f8e /compiler/compiled_method.h
parentca6f1c0cb7655e90237583c1b6b771d3c8aae95d (diff)
downloadart-279e3a3499d208daf467a1690b111dfb06f3e96e.tar.gz
art-279e3a3499d208daf467a1690b111dfb06f3e96e.tar.bz2
art-279e3a3499d208daf467a1690b111dfb06f3e96e.zip
Enable code item deduping
Dedupe code items if they have the same contents, this is safe because of the fixed quickening logic. Removed duplicate code items in ManyMethods that caused the startup methods section to be empty in dex2oat_test. To avoid errors related to quickening and compilation of shared code items, quickening is currently disabled for shared code items. Bug: 63756964 Test: test-art-host Change-Id: I7c62eb746785d787c5269effd396f7be4859d3a6
Diffstat (limited to 'compiler/compiled_method.h')
-rw-r--r--compiler/compiled_method.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/compiled_method.h b/compiler/compiled_method.h
index 4e8f3efe5a..acdce260e5 100644
--- a/compiler/compiled_method.h
+++ b/compiler/compiled_method.h
@@ -168,10 +168,6 @@ class CompiledMethod FINAL : public CompiledCode {
ArrayRef<const linker::LinkerPatch> GetPatches() const;
- // The compiler sometimes unquickens shared code items. In that case, we need to clear the vmap
- // table to avoid writing the quicken info to the vdex file.
- void ReleaseVMapTable();
-
private:
static constexpr size_t kIsIntrinsicLsb = kNumberOfCompiledCodePackedBits;
static constexpr size_t kIsIntrinsicSize = 1u;
@@ -190,7 +186,7 @@ class CompiledMethod FINAL : public CompiledCode {
// For quick code, method specific information that is not very dedupe friendly (method indices).
const LengthPrefixedArray<uint8_t>* const method_info_;
// For quick code, holds code infos which contain stack maps, inline information, and etc.
- const LengthPrefixedArray<uint8_t>* vmap_table_;
+ const LengthPrefixedArray<uint8_t>* const vmap_table_;
// 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.