Index: src/heap/spaces.h |
diff --git a/src/heap/spaces.h b/src/heap/spaces.h |
index c035342bfa85058dd9be34024e17cbc6d5722be3..226d300f853a961cf940a92d8516dc142f571394 100644 |
--- a/src/heap/spaces.h |
+++ b/src/heap/spaces.h |
@@ -689,7 +689,7 @@ class Page : public MemoryChunk { |
// account. |
// TODO(hpayer): This limit should be way smaller but we currently have |
// short living objects >256K. |
- static const int kMaxRegularHeapObjectSize = 600 * KB; |
+ static const int kMaxRegularHeapObjectSize = 300 * KB; |
static inline Page* ConvertNewToOld(Page* old_page, PagedSpace* new_owner); |
@@ -2156,6 +2156,8 @@ class PagedSpace : public Space { |
// size limit has been hit. |
bool Expand(); |
+ int AreaSizeDuringDeserialization(); |
+ |
// Generic fast case allocation function that tries linear allocation at the |
// address denoted by top in allocation_info_. |
inline HeapObject* AllocateLinearly(int size_in_bytes); |