summaryrefslogtreecommitdiff
path: root/deps/v8/src/heap.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/heap.h')
-rw-r--r--deps/v8/src/heap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/v8/src/heap.h b/deps/v8/src/heap.h
index 179f9af10c..ec1e21af5b 100644
--- a/deps/v8/src/heap.h
+++ b/deps/v8/src/heap.h
@@ -852,7 +852,11 @@ class Heap : public AllStatic {
static const int kMaxMapSpaceSize = 8*MB;
+#if defined(V8_TARGET_ARCH_X64)
+ static const int kMaxObjectSizeInNewSpace = 512*KB;
+#else
static const int kMaxObjectSizeInNewSpace = 256*KB;
+#endif
static NewSpace new_space_;
static OldSpace* old_pointer_space_;