Fixing Heap::Available() to return total of all spaces.
authorssid <ssid@chromium.org>
Thu, 21 May 2015 18:14:50 +0000 (11:14 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 21 May 2015 18:14:35 +0000 (18:14 +0000)
commit3f162d416e32caad3f28006c213227bb0e945128
tree379a40be3136bfd3ec0cdcaa635f50e2e85381f9
parent7ffdb5194d51a5813f9474d2453859c376223b18
Fixing Heap::Available() to return total of all spaces.

The Heap::Available method adds up the available size from only 4 of
the spaces. This CL fixes the method to return total of all spaces.

BUG=481504
LOG=N

Review URL: https://codereview.chromium.org/1141693003

Cr-Commit-Position: refs/heads/master@{#28566}
src/heap/heap.cc