Do not use left-over space after new space alignment for other spaces.
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 9 Sep 2009 08:45:32 +0000 (08:45 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 9 Sep 2009 08:45:32 +0000 (08:45 +0000)
commit2bc682e3f3ea302572e8fabcbb132a524a0e8597
tree3da4d097904d35cf134b49f308bdaaad7fd5a242
parentbbc3c97c2cc5040384be8c2ebacc72a2fc25d434
Do not use left-over space after new space alignment for other spaces.
Doing so makes the max new space size influence the initial total size
of the heap.

This change reduces the initial memory use of V8 by over 6MB.

Review URL: http://codereview.chromium.org/202017

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2851 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap.cc