summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_builder.cc
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2021-10-18 15:10:41 +0100
committer Treehugger Robot <treehugger-gerrit@google.com> 2021-11-09 11:18:38 +0000
commitcc76459f5d32d9002d8d0a432ccd6a3ca1f25bd0 (patch)
treea8122328ac86f383f15d4f3b89d78503b283785e /compiler/optimizing/instruction_builder.cc
parent01f0b8417d75428ed12e4adf19afcbf557651aaa (diff)
Modified revert of "Add couple DexCache read-barriers."
Remove the DexCache read-barriers again (the revert) since there is measurable performance difference in app startup (~1%). It turns out they are on very hot path in the interpreter. The lazy array initialization made the DexCache fields mutable. However, instead of the read-barriers, we can just ensure we get the right to-space object on the array-initialization slow path. Test: test.py -b -r --host Change-Id: I3f0123141e9a7875a26f088bff68d50641b66883
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions