diff options
author | Jeff Hao <jeffhao@google.com> | 2017-05-05 16:59:29 -0700 |
---|---|---|
committer | Jeff Hao <jeffhao@google.com> | 2017-05-25 15:11:56 -0700 |
commit | 5ea8413714ceec50a758df6614dc4a3ec6179112 (patch) | |
tree | edbf6a2ffe8aa717d2121b0daa1fc68678fc2ed2 /compiler/optimizing/code_generator_mips.cc | |
parent | 8bdf4e0d2094b7c9a9a1ffc1a58dbdff4cbe7126 (diff) |
Stop interpreter from accessing code items of compiled code.
The ArtInterpreterToCompiledCodeBridge accesses the code item in a
number of places to handle argument marshalling. However, the code item
of a compiled method should have no need to be accessed by the runtime
at all, since the code has been compiled. By removing these accesses,
there is a drop in the memory footprint of the dex file, since these
code items remain untouched by the runtime.
Includes fixes for JIT and deopt.
For Maps:
Systrace vdex memory usage: 19.4/33.4MB -> 18.8/33.4MB
Dumpsys meminfo vdex PSS: 9371kB -> 9275kB
Bug: 35800981
Test: mm test-art-host
Change-Id: I3bf17f8866287d9a8f127c16da23bebb801456dc
Diffstat (limited to 'compiler/optimizing/code_generator_mips.cc')
0 files changed, 0 insertions, 0 deletions