summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-06-27 09:57:12 -0700
committerMathieu Chartier <mathieuc@google.com>2014-06-27 09:57:12 -0700
commit146b1872a4b379e808e2738b4090d3293a34c2e8 (patch)
tree236ef466b1d9286104be42def2cee7d12e525eb2 /compiler/optimizing/graph_visualizer.cc
parentfe7aee2d20b47dad6029a588e0c7394f0c75d080 (diff)
Don't allow negative GetFreeMemory.
The max allowed footprint is only updated after the GC. But we can still allocate even if bytes_allocated > max_allowed_footprint_. This means that we used to be able to get a negative value if bytes_allocated > max_allowed_footprint_. External bug: https://code.google.com/p/android/issues/detail?id=72221 Change-Id: I4ef9a534e29211786e82cdcb2582c11ab37a348a
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions