Add support for a target new space size
authorjochen@chromium.org <jochen@chromium.org>
Wed, 22 Oct 2014 06:58:38 +0000 (06:58 +0000)
committerjochen@chromium.org <jochen@chromium.org>
Wed, 22 Oct 2014 06:58:38 +0000 (06:58 +0000)
commit8f7a455fe2278783a25590b9aeffa133f058932e
tree9a6fa5ee96bc0df008a0c3de299d0c25676c75a8
parent8214cc0e56e201c0cb4d5eb6069570e40f2f3cf7
Add support for a target new space size

When this flag is set, we will commit additional pages up until the
target size before doing a scavenge.

I made sure that all tests pass when a target size of 16MB is set.

BUG=v8:3626
R=ulan@chromium.org
LOG=n

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24790 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/flag-definitions.h
src/heap/heap.cc
src/heap/heap.h
src/heap/spaces.cc
src/heap/spaces.h
test/cctest/cctest.h
test/cctest/test-spaces.cc