Allow resource constraints to specify the max committed new space size
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 21 Oct 2009 15:03:34 +0000 (15:03 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 21 Oct 2009 15:03:34 +0000 (15:03 +0000)
commit9ee631338e223e253ac8ece6bc986d59e9ece6c3
tree3b4a88cb35a6d39f901366674cd32c7fe5c71878
parent765e134b92c1ec6f0767e77b2eaad980028b4a60
Allow resource constraints to specify the max committed new space size
when using snapshots.

The alignment of new space has to match the alignment in the snapshot,
but the max committed amount of memory does not.

For now, we assume that the default semispace size is always used in a
snapshot.
Review URL: http://codereview.chromium.org/300036

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3106 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/api.cc
src/flag-definitions.h
src/heap.cc
src/heap.h
src/ia32/assembler-ia32.cc
src/spaces.cc
src/x64/assembler-x64.cc
test/cctest/test-mark-compact.cc
test/cctest/test-spaces.cc