summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2017-05-12 19:18:47 -0700
committerCalin Juravle <calin@google.com>2017-05-18 04:53:23 +0000
commitdcab19095959865f03f63ad39dfaa8769c704a72 (patch)
tree06e3c9503c207d0155ff399aaf5fff080d46fe36 /compiler/optimizing/graph_visualizer.cc
parent0af0ec2b59e624861dc3461ba9ce192fd350fd12 (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 Change-Id: I9cfdd6fb70c289221e74ccf1b6449f28a7fb693d
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions