summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.h
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2017-05-12 19:18:47 -0700
committerCalin Juravle <calin@google.com>2017-05-16 16:26:04 -0700
commit3dd18cf4781d76565fff3460bd4efeebd188b6c6 (patch)
treec6fa2a654427b3fa30336af018540c06dfaf59d9 /compiler/optimizing/graph_visualizer.h
parent78a9fe665f4dcb931044e41a7451ae52cd925c30 (diff)
Do not cache profiles in the ProfileSaver.
Profiles with a lot of inline caches have a large memory footprint. Do not cache them in the saver anymore. The cache was useful to avoid doing unnecessary IO but it takes too much memory now. Disable it until we update the profile format to take less space. This trades off IO for memory. As an effect we will do one extra read to detect if we have enough new information worth saving. The saving period has been increased to 40secs (from 20) in a previous CL which also helps to balance the IO. Test: m test-art-host-gtest manual inspection with meminfo Bug: 37711886 (cherry picked from commit ea220658bf6ff920c5a6c658e4643da09560d278) Change-Id: Iddf93b2f07faf4c897ac43931f41aa1e8c2a6bc4
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions