From c566aed20487078c132cc0127a0eb1cb8a1896cc Mon Sep 17 00:00:00 2001 From: "olivf@chromium.org" Date: Fri, 4 Oct 2013 11:11:50 +0000 Subject: [PATCH] Bump code space size for cctest/DeserializeFromSecondSerialization. R=mstarzinger@chromium.org BUG= Review URL: https://codereview.chromium.org/25996002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17105 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/spaces.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/spaces.cc b/src/spaces.cc index 3748c7699b..a6980139ae 100644 --- a/src/spaces.cc +++ b/src/spaces.cc @@ -1077,7 +1077,7 @@ intptr_t PagedSpace::SizeOfFirstPage() { // upgraded to handle small pages. size = AreaSize(); } else { - size = 384 * KB; + size = 416 * KB; } break; default: @@ -2685,6 +2685,7 @@ HeapObject* PagedSpace::SlowAllocateRaw(int size_in_bytes) { // Try to expand the space and allocate in the new next page. if (Expand()) { + ASSERT(CountTotalPages() > 1 || size_in_bytes <= free_list_.available()); return free_list_.Allocate(size_in_bytes); }