summaryrefslogtreecommitdiff
path: root/compiler/optimizing/loop_optimization.cc
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2020-04-07 17:52:16 +0100
committerDavid Srbecky <dsrbecky@google.com>2020-04-14 08:25:40 +0000
commite778fa6ead79e9cb26810d484c5a594e9612de9b (patch)
treef615de89eff741c5bb2c4ea8d04ccd097223092f /compiler/optimizing/loop_optimization.cc
parent27d2bfc603a7e25ec6132ab598ecb3319f089e03 (diff)
Reduce cache memory use of libdexfile.
It is excessive to cache all methods of all open dex files. Cache only methods that have been looked up by dex offset. Create class lookup table to keep method lookup efficient (linear search, but only within the methods of the class). This reduces memory use by over 10x. Bug: 152976928 Test: ./art/test.py -r -b --host -t 137 Test: libunwindstack_unit_test Change-Id: I0aee3d9a1060bf254b156836c428a17e6f1ee70c
Diffstat (limited to 'compiler/optimizing/loop_optimization.cc')
0 files changed, 0 insertions, 0 deletions