Modify SizeOfFirstPage to take ool constant pool into account.
authorrmcilroy@chromium.org <rmcilroy@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 20 Aug 2014 14:40:53 +0000 (14:40 +0000)
committerrmcilroy@chromium.org <rmcilroy@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 20 Aug 2014 14:40:53 +0000 (14:40 +0000)
commitd62b71e97cb43c039928a37146a597f77f254e46
tree1cf6520adbe481277a6f5bdd569e87de156dbeac
parent16c2c72ade7a920b7110f3c2c3424ed9258d6cef
Modify SizeOfFirstPage to take ool constant pool into account.

The OOL constant pool places constants in the old pointer space rather than the code space
which makes test-heap/ReleaseOverReservedPages fail. Modify SizeOfFirstPage to
increase the initial size of old-pointer space by the size of the constant pool and
decrease the code space by a corresponding amount.

R=hpayer@chromium.org

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

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